#862FB9#862FB9

#862FB9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.207 H 309.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#862FB9
RGBrgb(134, 47, 185)
HSLhsl(278, 59%, 45%)
HSVhsv(278, 75%, 73%)
CMYKcmyk(27.6%, 74.6%, 0%, 27.5%)
CIE-LABlab(38.91, 58.75, -56.38)
CIE-LCHlch(38.91, 81.43, 316.18°)
OKLaboklab(49.96% 0.1318 -0.1599)
OKLCHoklch(49.96% 0.207 309.5)
XYZxyz(19.6032, 10.6045, 46.9037)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FB9 #62B92F
analogous
#412FB9 #862FB9 #B92FA7
triadic
#862FB9 #B9862F #2FB986
tetradic
#862FB9 #B9412F #62B92F #2FA7B9
square
#862FB9 #B9412F #62B92F #2FA7B9
split-complementary
#862FB9 #A7B92F #2FB941
monochromatic
#3F1657 #632388 #862FB9 #A352D3 #BD83DF

Accessibility & contrast

On white

6.73
#862FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#862FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FB9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FB9#FFFFFF#000000##FFFFFF
##862FB91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#055DB6
Tritanopia (blue-blind)
#7E5072
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862fb9;
/* rgb */ color: rgb(134, 47, 185);
/* oklch */ color: oklch(50.0% 0.207 309.5);
Tailwind
colors: {
  custom: {
    50: '#ae70cf',
    500: '#862fb9',
    950: '#000000',
  },
}
SCSS
$custom: #862fb9;
$custom-light: #ae70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#862fb9",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 277.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.20718,
    "h": 309.5
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#862FB9
secondary
#98C97B
accent
#E3457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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