#862CB9#862CB9

#862CB9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.210 H 309.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#862CB9
RGBrgb(134, 44, 185)
HSLhsl(278, 62%, 45%)
HSVhsv(278, 76%, 73%)
CMYKcmyk(27.6%, 76.2%, 0%, 27.5%)
CIE-LABlab(38.50, 59.90, -57.03)
CIE-LCHlch(38.50, 82.71, 316.41°)
OKLaboklab(49.68% 0.1345 -0.1618)
OKLCHoklch(49.68% 0.21 309.7)
XYZxyz(19.4874, 10.3729, 46.8651)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB9 #5FB92C
analogous
#402CB9 #862CB9 #B92CA5
triadic
#862CB9 #B9862C #2CB986
tetradic
#862CB9 #B9402C #5FB92C #2CA5B9
square
#862CB9 #B9402C #5FB92C #2CA5B9
split-complementary
#862CB9 #A5B92C #2CB940
monochromatic
#3E1456 #622088 #862CB9 #A44DD5 #BD7FE1

Accessibility & contrast

On white

6.83
#862CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#862CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CB9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CB9#FFFFFF#000000##FFFFFF
##862CB91.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#7F4E71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862cb9;
/* rgb */ color: rgb(134, 44, 185);
/* oklch */ color: oklch(49.7% 0.210 309.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fcf',
    500: '#862cb9',
    950: '#000000',
  },
}
SCSS
$custom: #862cb9;
$custom-light: #ae6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb9",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 278.298,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.21038,
    "h": 309.7
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#862CB9
secondary
#95C978
accent
#E5437E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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