#862AC9#862AC9

#862AC9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.7% C 0.227 H 305.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#862AC9
RGBrgb(134, 42, 201)
HSLhsl(275, 65%, 48%)
HSVhsv(275, 79%, 79%)
CMYKcmyk(33.3%, 79.1%, 0%, 21.2%)
CIE-LABlab(39.48, 64.08, -64.81)
CIE-LCHlch(39.48, 91.14, 314.67°)
OKLaboklab(50.75% 0.1325 -0.1846)
OKLCHoklch(50.75% 0.227 305.7)
XYZxyz(21.1997, 10.9415, 56.2421)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AC9 #6DC92A
analogous
#372AC9 #862AC9 #C92ABC
triadic
#862AC9 #C9862A #2AC986
tetradic
#862AC9 #C9372A #6DC92A #2ABCC9
square
#862AC9 #C9372A #6DC92A #2ABCC9
split-complementary
#862AC9 #BCC92A #2AC937
monochromatic
#431564 #641F96 #862AC9 #A355DB #BE87E6

Accessibility & contrast

On white

6.59
#862AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#862AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862AC9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AC9#FFFFFF#000000##FFFFFF
##862AC91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#7A547A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862ac9;
/* rgb */ color: rgb(134, 42, 201);
/* oklch */ color: oklch(50.7% 0.227 305.7);
Tailwind
colors: {
  custom: {
    50: '#af6fda',
    500: '#862ac9',
    950: '#000000',
  },
}
SCSS
$custom: #862ac9;
$custom-light: #af6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#862ac9",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 274.717,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.22724,
    "h": 305.7
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#862AC9
secondary
#A1D07F
accent
#E83F87
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862AC9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#862AC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva