#9D65DF#9D65DF

#9D65DF is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.181 H 302.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9D65DF
RGBrgb(157, 101, 223)
HSLhsl(268, 66%, 64%)
HSVhsv(268, 55%, 87%)
CMYKcmyk(29.6%, 54.7%, 0%, 12.5%)
CIE-LABlab(53.82, 46.44, -54.13)
CIE-LCHlch(53.82, 71.32, 310.63°)
OKLaboklab(62.14% 0.0979 -0.1528)
OKLCHoklch(62.14% 0.181 302.6)
XYZxyz(31.8746, 21.8032, 72.3269)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65DF #A7DF65
analogous
#656ADF #9D65DF #DA65DF
triadic
#9D65DF #DF9D65 #65DF9D
tetradic
#9D65DF #DF656A #A7DF65 #65DFDA
square
#9D65DF #DF656A #A7DF65 #65DFDA
split-complementary
#9D65DF #DFDA65 #6ADF65
monochromatic
#5F23A7 #7D32D4 #9D65DF #BD98EA #DDCAF4

Accessibility & contrast

On white

3.92
#9D65DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9D65DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65DF#FFFFFF#000000##000000
##9D65DF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3680E3
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#917D98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d65df;
/* rgb */ color: rgb(157, 101, 223);
/* oklch */ color: oklch(62.1% 0.181 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd93ea',
    500: '#9d65df',
    950: '#000000',
  },
}
SCSS
$custom: #9d65df;
$custom-light: #bd93ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65df",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 267.541,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6214,
    "c": 0.18141,
    "h": 302.6
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

primary
#9D65DF
secondary
#D2E6BA
accent
#CD187A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D65DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D65DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva