#862BBD#862BBD

#862BBD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.215 H 308.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#862BBD
RGBrgb(134, 43, 189)
HSLhsl(277, 63%, 45%)
HSVhsv(277, 77%, 74%)
CMYKcmyk(29.1%, 77.2%, 0%, 25.9%)
CIE-LABlab(38.67, 61.13, -59.11)
CIE-LCHlch(38.67, 85.03, 315.96°)
OKLaboklab(49.89% 0.1345 -0.1679)
OKLCHoklch(49.89% 0.215 308.7)
XYZxyz(19.8788, 10.4706, 49.1081)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BBD #62BD2B
analogous
#3D2BBD #862BBD #BD2BAB
triadic
#862BBD #BD862B #2BBD86
tetradic
#862BBD #BD3D2B #62BD2B #2BABBD
square
#862BBD #BD3D2B #62BD2B #2BABBD
split-complementary
#862BBD #ABBD2B #2BBD3D
monochromatic
#3F1459 #63208B #862BBD #A34ED7 #BD80E2

Accessibility & contrast

On white

6.79
#862BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#862BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BBD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BBD#FFFFFF#000000##FFFFFF
##862BBD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#7D4F73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862bbd;
/* rgb */ color: rgb(134, 43, 189);
/* oklch */ color: oklch(49.9% 0.215 308.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fd2',
    500: '#862bbd',
    950: '#000000',
  },
}
SCSS
$custom: #862bbd;
$custom-light: #ae6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#862bbd",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 277.397,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.21512,
    "h": 308.7
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#862BBD
secondary
#98CB79
accent
#E64280
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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