#9864E6#9864E6

#9864E6 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.190 H 299.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9864E6
RGBrgb(152, 100, 230)
HSLhsl(264, 72%, 65%)
HSVhsv(264, 57%, 90%)
CMYKcmyk(33.9%, 56.5%, 0%, 9.8%)
CIE-LABlab(53.50, 47.51, -58.62)
CIE-LCHlch(53.50, 75.45, 309.02°)
OKLaboklab(61.92% 0.0929 -0.1661)
OKLCHoklch(61.92% 0.19 299.2)
XYZxyz(31.7855, 21.5026, 77.3234)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E6 #B2E664
analogous
#6471E6 #9864E6 #D964E6
triadic
#9864E6 #E69864 #64E698
tetradic
#9864E6 #E66471 #B2E664 #64E6D9
square
#9864E6 #E66471 #B2E664 #64E6D9
split-complementary
#9864E6 #E6D964 #71E664
monochromatic
#591DB3 #752FDD #9864E6 #BB99EE #DECDF7

Accessibility & contrast

On white

3.96
#9864E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9864E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E6#FFFFFF#000000##000000
##9864E61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#877F9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9864e6;
/* rgb */ color: rgb(152, 100, 230);
/* oklch */ color: oklch(61.9% 0.190 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba92ef',
    500: '#9864e6',
    950: '#000000',
  },
}
SCSS
$custom: #9864e6;
$custom-light: #ba92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e6",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 264,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.19029,
    "h": 299.2
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#9864E6
secondary
#D7E9BD
accent
#D41186
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864E6

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

Preview Lab → · Contrast checker → · Palette generator →

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