#862BB4#862BB4

#862BB4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 311.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#862BB4
RGBrgb(134, 43, 180)
HSLhsl(280, 61%, 44%)
HSVhsv(280, 76%, 71%)
CMYKcmyk(25.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(38.01, 59.22, -54.88)
CIE-LCHlch(38.01, 80.74, 317.17°)
OKLaboklab(49.21% 0.1363 -0.1554)
OKLCHoklch(49.21% 0.207 311.3)
XYZxyz(18.9320, 10.0919, 44.1218)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB4 #59B42B
analogous
#412BB4 #862BB4 #B42B9D
triadic
#862BB4 #B4862B #2BB486
tetradic
#862BB4 #B4412B #59B42B #2B9DB4
square
#862BB4 #B4412B #59B42B #2B9DB4
split-complementary
#862BB4 #9DB42B #2BB441
monochromatic
#3C1351 #611F83 #862BB4 #A549D3 #BD7ADF

Accessibility & contrast

On white

6.96
#862BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#862BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BB4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB4#FFFFFF#000000##FFFFFF
##862BB41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0E5BB1
Tritanopia (blue-blind)
#804B6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862bb4;
/* rgb */ color: rgb(134, 43, 180);
/* oklch */ color: oklch(49.2% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#ae6ecb',
    500: '#862bb4',
    950: '#000000',
  },
}
SCSS
$custom: #862bb4;
$custom-light: #ae6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb4",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 279.854,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.20675,
    "h": 311.3
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#862BB4
secondary
#90C773
accent
#E54379
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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