#9861CF#9861CF

#9861CF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.167 H 305.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9861CF
RGBrgb(152, 97, 207)
HSLhsl(270, 53%, 60%)
HSVhsv(270, 53%, 81%)
CMYKcmyk(26.6%, 53.1%, 0%, 18.8%)
CIE-LABlab(51.53, 43.52, -48.74)
CIE-LCHlch(51.53, 65.34, 311.76°)
OKLaboklab(60.04% 0.0959 -0.1371)
OKLCHoklch(60.04% 0.167 305)
XYZxyz(28.4837, 19.7299, 61.3271)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861CF #98CF61
analogous
#6161CF #9861CF #CF61CF
triadic
#9861CF #CF9861 #61CF98
tetradic
#9861CF #CF6161 #98CF61 #61CFCF
square
#9861CF #CF6161 #98CF61 #61CFCF
split-complementary
#9861CF #CFCF61 #61CF61
monochromatic
#5B2A8B #7939BA #9861CF #B790DD #D5BFEC

Accessibility & contrast

On white

4.25
#9861CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9861CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861CF#FFFFFF#000000##000000
##9861CF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#8F758F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9861cf;
/* rgb */ color: rgb(152, 97, 207);
/* oklch */ color: oklch(60.0% 0.167 305.0);
Tailwind
colors: {
  custom: {
    50: '#b990de',
    500: '#9861cf',
    950: '#000000',
  },
}
SCSS
$custom: #9861cf;
$custom-light: #b990de;
$custom-dark: #000000;
JSON
{
  "hex": "#9861cf",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.16733,
    "h": 305
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#9861CF
secondary
#C6DBB1
accent
#DD4B94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9861CF

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

Preview Lab → · Contrast checker → · Palette generator →

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