#9864CE#9864CE

#9864CE is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.161 H 304.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9864CE
RGBrgb(152, 100, 206)
HSLhsl(269, 52%, 60%)
HSVhsv(269, 51%, 81%)
CMYKcmyk(26.2%, 51.5%, 0%, 19.2%)
CIE-LABlab(52.11, 41.63, -47.24)
CIE-LCHlch(52.11, 62.96, 311.39°)
OKLaboklab(60.45% 0.0919 -0.1327)
OKLCHoklch(60.45% 0.161 304.7)
XYZxyz(28.6443, 20.2461, 60.7794)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864CE #9ACE64
analogous
#6465CE #9864CE #CD64CE
triadic
#9864CE #CE9864 #64CE98
tetradic
#9864CE #CE6465 #9ACE64 #64CECD
square
#9864CE #CE6465 #9ACE64 #64CECD
split-complementary
#9864CE #CECD64 #65CE64
monochromatic
#5B2C8C #793BBA #9864CE #B792DD #D6C1EB

Accessibility & contrast

On white

4.16
#9864CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9864CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864CE#FFFFFF#000000##000000
##9864CE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#8F7790
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9864ce;
/* rgb */ color: rgb(152, 100, 206);
/* oklch */ color: oklch(60.5% 0.161 304.7);
Tailwind
colors: {
  custom: {
    50: '#b992dd',
    500: '#9864ce',
    950: '#000000',
  },
}
SCSS
$custom: #9864ce;
$custom-light: #b992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ce",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 269.434,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.16141,
    "h": 304.7
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#9864CE
secondary
#C7DBB2
accent
#DB4C95
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9864CE

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

Preview Lab → · Contrast checker → · Palette generator →

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