#9861D4#9861D4

#9861D4 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.173 H 303.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9861D4
RGBrgb(152, 97, 212)
HSLhsl(269, 57%, 61%)
HSVhsv(269, 54%, 83%)
CMYKcmyk(28.3%, 54.2%, 0%, 16.9%)
CIE-LABlab(51.81, 44.72, -51.14)
CIE-LCHlch(51.81, 67.93, 311.17°)
OKLaboklab(60.34% 0.0962 -0.1441)
OKLCHoklch(60.34% 0.173 303.7)
XYZxyz(29.1046, 19.9783, 64.5975)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861D4 #9DD461
analogous
#6163D4 #9861D4 #D261D4
triadic
#9861D4 #D49861 #61D498
tetradic
#9861D4 #D46163 #9DD461 #61D4D2
square
#9861D4 #D46163 #9DD461 #61D4D2
split-complementary
#9861D4 #D4D261 #63D461
monochromatic
#5B2893 #7935C3 #9861D4 #B791E1 #D7C1EE

Accessibility & contrast

On white

4.20
#9861D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9861D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861D4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861D4#FFFFFF#000000##000000
##9861D41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#8D7791
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9861d4;
/* rgb */ color: rgb(152, 97, 212);
/* oklch */ color: oklch(60.3% 0.173 303.7);
Tailwind
colors: {
  custom: {
    50: '#b990e2',
    500: '#9861d4',
    950: '#000000',
  },
}
SCSS
$custom: #9861d4;
$custom-light: #b990e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9861d4",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 268.696,
    "s": 57.214,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.17328,
    "h": 303.7
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#9861D4
secondary
#C9DEB3
accent
#C52176
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9861D4

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

Preview Lab → · Contrast checker → · Palette generator →

#9861D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva