#862ACA#862ACA

#862ACA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.228 H 305.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#862ACA
RGBrgb(134, 42, 202)
HSLhsl(275, 66%, 48%)
HSVhsv(275, 79%, 79%)
CMYKcmyk(33.7%, 79.2%, 0%, 20.8%)
CIE-LABlab(39.56, 64.30, -65.26)
CIE-LCHlch(39.56, 91.62, 314.57°)
OKLaboklab(50.83% 0.1323 -0.1859)
OKLCHoklch(50.83% 0.228 305.4)
XYZxyz(21.3177, 10.9887, 56.8636)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ACA #6ECA2A
analogous
#362ACA #862ACA #CA2ABE
triadic
#862ACA #CA862A #2ACA86
tetradic
#862ACA #CA362A #6ECA2A #2ABECA
square
#862ACA #CA362A #6ECA2A #2ABECA
split-complementary
#862ACA #BECA2A #2ACA36
monochromatic
#431565 #641F97 #862ACA #A355DC #BE88E6

Accessibility & contrast

On white

6.57
#862ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#862ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862ACA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ACA#FFFFFF#000000##FFFFFF
##862ACA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#79557B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862aca;
/* rgb */ color: rgb(134, 42, 202);
/* oklch */ color: oklch(50.8% 0.228 305.4);
Tailwind
colors: {
  custom: {
    50: '#af6fdb',
    500: '#862aca',
    950: '#000000',
  },
}
SCSS
$custom: #862aca;
$custom-light: #af6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#862aca",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 274.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.22817,
    "h": 305.4
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#862ACA
secondary
#A2D080
accent
#E93F87
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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