#862BB6#862BB6

#862BB6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.209 H 310.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#862BB6
RGBrgb(134, 43, 182)
HSLhsl(279, 62%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.4%, 76.4%, 0%, 28.6%)
CIE-LABlab(38.15, 59.64, -55.83)
CIE-LCHlch(38.15, 81.69, 316.89°)
OKLaboklab(49.36% 0.136 -0.1582)
OKLCHoklch(49.36% 0.209 310.7)
XYZxyz(19.1373, 10.1739, 45.2025)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB6 #5BB62B
analogous
#412BB6 #862BB6 #B62BA1
triadic
#862BB6 #B6862B #2BB686
tetradic
#862BB6 #B6412B #5BB62B #2BA1B6
square
#862BB6 #B6412B #5BB62B #2BA1B6
split-complementary
#862BB6 #A1B62B #2BB641
monochromatic
#3D1453 #621F84 #862BB6 #A44AD4 #BD7BE0

Accessibility & contrast

On white

6.92
#862BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#862BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BB6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB6#FFFFFF#000000##FFFFFF
##862BB61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#065BB3
Tritanopia (blue-blind)
#7F4C6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862bb6;
/* rgb */ color: rgb(134, 43, 182);
/* oklch */ color: oklch(49.4% 0.209 310.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ecd',
    500: '#862bb6',
    950: '#000000',
  },
}
SCSS
$custom: #862bb6;
$custom-light: #ae6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb6",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 279.281,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.20861,
    "h": 310.7
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#862BB6
secondary
#91C875
accent
#E5437B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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