#862BD2#862BD2

#862BD2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.6% C 0.235 H 303.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#862BD2
RGBrgb(134, 43, 210)
HSLhsl(273, 66%, 50%)
HSVhsv(273, 80%, 82%)
CMYKcmyk(36.2%, 79.5%, 0%, 17.6%)
CIE-LABlab(40.33, 65.71, -68.65)
CIE-LCHlch(40.33, 95.03, 313.75°)
OKLaboklab(51.56% 0.1294 -0.1959)
OKLCHoklch(51.56% 0.235 303.4)
XYZxyz(22.3255, 11.4492, 61.9940)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BD2 #77D22B
analogous
#332BD2 #862BD2 #D22BCA
triadic
#862BD2 #D2862B #2BD286
tetradic
#862BD2 #D2332B #77D22B #2BCAD2
square
#862BD2 #D2332B #77D22B #2BCAD2
split-complementary
#862BD2 #CAD22B #2BD233
monochromatic
#45166C #66219F #862BD2 #A35CDE #C08FE8

Accessibility & contrast

On white

6.38
#862BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#862BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BD2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BD2#FFFFFF#000000##FFFFFF
##862BD21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#76597F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #862bd2;
/* rgb */ color: rgb(134, 43, 210);
/* oklch */ color: oklch(51.6% 0.235 303.4);
Tailwind
colors: {
  custom: {
    50: '#b070e1',
    500: '#862bd2',
    950: '#000000',
  },
}
SCSS
$custom: #862bd2;
$custom-light: #b070e1;
$custom-dark: #000000;
JSON
{
  "hex": "#862bd2",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 272.695,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.23474,
    "h": 303.4
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#862BD2
secondary
#A9D386
accent
#E93F8C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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