#9864DF#9864DF

#9864DF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.182 H 300.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9864DF
RGBrgb(152, 100, 223)
HSLhsl(265, 66%, 63%)
HSVhsv(265, 55%, 87%)
CMYKcmyk(31.8%, 55.2%, 0%, 12.5%)
CIE-LABlab(53.08, 45.77, -55.34)
CIE-LCHlch(53.08, 71.82, 309.59°)
OKLaboklab(61.47% 0.0928 -0.1565)
OKLCHoklch(61.47% 0.182 300.7)
XYZxyz(30.8222, 21.1173, 72.2499)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864DF #ABDF64
analogous
#646DDF #9864DF #D564DF
triadic
#9864DF #DF9864 #64DF98
tetradic
#9864DF #DF646D #ABDF64 #64DFD5
square
#9864DF #DF646D #ABDF64 #64DFD5
split-complementary
#9864DF #DFD564 #6DDF64
monochromatic
#5A22A6 #7631D5 #9864DF #BA97E9 #DBC9F4

Accessibility & contrast

On white

4.02
#9864DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9864DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864DF#FFFFFF#000000##000000
##9864DF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#8A7C98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9864df;
/* rgb */ color: rgb(152, 100, 223);
/* oklch */ color: oklch(61.5% 0.182 300.7);
Tailwind
colors: {
  custom: {
    50: '#ba92ea',
    500: '#9864df',
    950: '#000000',
  },
}
SCSS
$custom: #9864df;
$custom-light: #ba92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9864df",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 265.366,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.18191,
    "h": 300.7
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#9864DF
secondary
#D3E5B9
accent
#CE1881
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864DF

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

Preview Lab → · Contrast checker → · Palette generator →

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