#9864CA#9864CA

#9864CA is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.157 H 305.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9864CA
RGBrgb(152, 100, 202)
HSLhsl(271, 49%, 59%)
HSVhsv(271, 50%, 79%)
CMYKcmyk(24.8%, 50.5%, 0%, 20.8%)
CIE-LABlab(51.90, 40.68, -45.29)
CIE-LCHlch(51.90, 60.88, 311.93°)
OKLaboklab(60.22% 0.0915 -0.1271)
OKLCHoklch(60.22% 0.157 305.8)
XYZxyz(28.1645, 20.0542, 58.2528)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864CA #96CA64
analogous
#6564CA #9864CA #CA64C9
triadic
#9864CA #CA9864 #64CA98
tetradic
#9864CA #CA6564 #96CA64 #64C9CA
square
#9864CA #CA6564 #96CA64 #64C9CA
split-complementary
#9864CA #C9CA64 #64CA65
monochromatic
#5B2E86 #7A3DB3 #9864CA #B692DA #D5BFE9

Accessibility & contrast

On white

4.19
#9864CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9864CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864CA#FFFFFF#000000##000000
##9864CA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#90768E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9864ca;
/* rgb */ color: rgb(152, 100, 202);
/* oklch */ color: oklch(60.2% 0.157 305.8);
Tailwind
colors: {
  custom: {
    50: '#b991da',
    500: '#9864ca',
    950: '#000000',
  },
}
SCSS
$custom: #9864ca;
$custom-light: #b991da;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ca",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 270.588,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.15659,
    "h": 305.8
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#9864CA
secondary
#C5D9B1
accent
#D94F93
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9864CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9864CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva