#862ACD#862ACD

#862ACD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.1% C 0.231 H 304.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#862ACD
RGBrgb(134, 42, 205)
HSLhsl(274, 66%, 48%)
HSVhsv(274, 80%, 80%)
CMYKcmyk(34.6%, 79.5%, 0%, 19.6%)
CIE-LABlab(39.80, 64.96, -66.61)
CIE-LCHlch(39.80, 93.04, 314.28°)
OKLaboklab(51.07% 0.1315 -0.1899)
OKLCHoklch(51.07% 0.231 304.7)
XYZxyz(21.6764, 11.1321, 58.7525)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ACD #71CD2A
analogous
#342ACD #862ACD #CD2AC2
triadic
#862ACD #CD862A #2ACD86
tetradic
#862ACD #CD342A #71CD2A #2AC2CD
square
#862ACD #CD342A #71CD2A #2AC2CD
split-complementary
#862ACD #C2CD2A #2ACD34
monochromatic
#441567 #65209A #862ACD #A358DD #BF8AE7

Accessibility & contrast

On white

6.51
#862ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#862ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862ACD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ACD#FFFFFF#000000##FFFFFF
##862ACD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862acd;
/* rgb */ color: rgb(134, 42, 205);
/* oklch */ color: oklch(51.1% 0.231 304.7);
Tailwind
colors: {
  custom: {
    50: '#b06fdd',
    500: '#862acd',
    950: '#000000',
  },
}
SCSS
$custom: #862acd;
$custom-light: #b06fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#862acd",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 205
  },
  "hsl": {
    "h": 273.865,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.23096,
    "h": 304.7
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#862ACD
secondary
#A4D182
accent
#E93F89
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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