#862ABD#862ABD

#862ABD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.216 H 308.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#862ABD
RGBrgb(134, 42, 189)
HSLhsl(278, 64%, 45%)
HSVhsv(278, 78%, 74%)
CMYKcmyk(29.1%, 77.8%, 0%, 25.9%)
CIE-LABlab(38.55, 61.49, -59.32)
CIE-LCHlch(38.55, 85.44, 316.03°)
OKLaboklab(49.81% 0.1354 -0.1685)
OKLCHoklch(49.81% 0.216 308.8)
XYZxyz(19.8429, 10.3987, 49.0961)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ABD #61BD2A
analogous
#3D2ABD #862ABD #BD2AAA
triadic
#862ABD #BD862A #2ABD86
tetradic
#862ABD #BD3D2A #61BD2A #2AAABD
square
#862ABD #BD3D2A #61BD2A #2AAABD
split-complementary
#862ABD #AABD2A #2ABD3D
monochromatic
#3F1459 #621F8B #862ABD #A44DD7 #BD7FE3

Accessibility & contrast

On white

6.82
#862ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#862ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862ABD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ABD#FFFFFF#000000##FFFFFF
##862ABD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862abd;
/* rgb */ color: rgb(134, 42, 189);
/* oklch */ color: oklch(49.8% 0.216 308.8);
Tailwind
colors: {
  custom: {
    50: '#af6ed2',
    500: '#862abd',
    950: '#000000',
  },
}
SCSS
$custom: #862abd;
$custom-light: #af6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#862abd",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 277.551,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.21612,
    "h": 308.8
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#862ABD
secondary
#97CB78
accent
#E7417F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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