#862BCD#862BCD

#862BCD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.2% C 0.230 H 304.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#862BCD
RGBrgb(134, 43, 205)
HSLhsl(274, 65%, 49%)
HSVhsv(274, 79%, 80%)
CMYKcmyk(34.6%, 79%, 0%, 19.6%)
CIE-LABlab(39.92, 64.61, -66.42)
CIE-LCHlch(39.92, 92.66, 314.21°)
OKLaboklab(51.15% 0.1307 -0.1893)
OKLCHoklch(51.15% 0.23 304.6)
XYZxyz(21.7123, 11.2040, 58.7645)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BCD #72CD2B
analogous
#352BCD #862BCD #CD2BC3
triadic
#862BCD #CD862B #2BCD86
tetradic
#862BCD #CD352B #72CD2B #2BC3CD
square
#862BCD #CD352B #72CD2B #2BC3CD
split-complementary
#862BCD #C3CD2B #2BCD35
monochromatic
#441668 #65209A #862BCD #A359DC #BF8CE7

Accessibility & contrast

On white

6.48
#862BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#862BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BCD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BCD#FFFFFF#000000##FFFFFF
##862BCD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#78567D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #862bcd;
/* rgb */ color: rgb(134, 43, 205);
/* oklch */ color: oklch(51.2% 0.230 304.6);
Tailwind
colors: {
  custom: {
    50: '#b06fdd',
    500: '#862bcd',
    950: '#000000',
  },
}
SCSS
$custom: #862bcd;
$custom-light: #b06fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#862bcd",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 205
  },
  "hsl": {
    "h": 273.704,
    "s": 65.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.23007,
    "h": 304.6
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#862BCD
secondary
#A5D183
accent
#E84089
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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