#9864E7#9864E7

#9864E7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.191 H 299.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9864E7
RGBrgb(152, 100, 231)
HSLhsl(264, 73%, 65%)
HSVhsv(264, 57%, 91%)
CMYKcmyk(34.2%, 56.7%, 0%, 9.4%)
CIE-LABlab(53.56, 47.76, -59.08)
CIE-LCHlch(53.56, 75.97, 308.95°)
OKLaboklab(61.98% 0.0929 -0.1674)
OKLCHoklch(61.98% 0.191 299)
XYZxyz(31.9263, 21.5589, 78.0651)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E7 #B3E764
analogous
#6471E7 #9864E7 #DA64E7
triadic
#9864E7 #E79864 #64E798
tetradic
#9864E7 #E76471 #B3E764 #64E7DA
square
#9864E7 #E76471 #B3E764 #64E7DA
split-complementary
#9864E7 #E7DA64 #71E764
monochromatic
#591CB5 #752FDF #9864E7 #BB99EF #DECEF7

Accessibility & contrast

On white

3.95
#9864E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9864E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E7#FFFFFF#000000##000000
##9864E71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#877F9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9864e7;
/* rgb */ color: rgb(152, 100, 231);
/* oklch */ color: oklch(62.0% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb92ef',
    500: '#9864e7',
    950: '#000000',
  },
}
SCSS
$custom: #9864e7;
$custom-light: #bb92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e7",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 263.817,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.19148,
    "h": 299
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#9864E7
secondary
#D8EABD
accent
#D51087
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864E7

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

Preview Lab → · Contrast checker → · Palette generator →

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