#862CA3#862CA3

#862CA3 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 316.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#862CA3
RGBrgb(134, 44, 163)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 73%, 64%)
CMYKcmyk(17.8%, 73%, 0%, 36.1%)
CIE-LABlab(36.96, 55.33, -46.43)
CIE-LCHlch(36.96, 72.23, 319.99°)
OKLaboklab(48.1% 0.1378 -0.1306)
OKLCHoklch(48.1% 0.19 316.5)
XYZxyz(17.3421, 9.5147, 35.5663)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CA3 #49A32C
analogous
#4A2CA3 #862CA3 #A32C84
triadic
#862CA3 #A3862C #2CA386
tetradic
#862CA3 #A34A2C #49A32C #2C84A3
square
#862CA3 #A34A2C #49A32C #2C84A3
split-complementary
#862CA3 #84A32C #2CA34A
monochromatic
#371243 #5E1F73 #862CA3 #AA41CC #BF71D9

Accessibility & contrast

On white

7.23
#862CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#862CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CA3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CA3#FFFFFF#000000##FFFFFF
##862CA31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#844565
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ca3;
/* rgb */ color: rgb(134, 44, 163);
/* oklch */ color: oklch(48.1% 0.190 316.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ebf',
    500: '#862ca3',
    950: '#000000',
  },
}
SCSS
$custom: #862ca3;
$custom-light: #ad6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#862ca3",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 285.378,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.18991,
    "h": 316.5
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#862CA3
secondary
#80C06B
accent
#E1476D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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