#9D65DB#9D65DB

#9D65DB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.177 H 303.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9D65DB
RGBrgb(157, 101, 219)
HSLhsl(268, 62%, 63%)
HSVhsv(268, 54%, 86%)
CMYKcmyk(28.3%, 53.9%, 0%, 14.1%)
CIE-LABlab(53.59, 45.48, -52.24)
CIE-LCHlch(53.59, 69.26, 311.04°)
OKLaboklab(61.9% 0.0977 -0.1472)
OKLCHoklch(61.9% 0.177 303.6)
XYZxyz(31.3417, 21.5900, 69.5202)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65DB #A3DB65
analogous
#6568DB #9D65DB #D865DB
triadic
#9D65DB #DB9D65 #65DB9D
tetradic
#9D65DB #DB6568 #A3DB65 #65DBD8
square
#9D65DB #DB6568 #A3DB65 #65DBD8
split-complementary
#9D65DB #DBD865 #68DB65
monochromatic
#6025A0 #7D33CF #9D65DB #BD97E7 #DCC8F2

Accessibility & contrast

On white

3.95
#9D65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9D65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65DB#FFFFFF#000000##000000
##9D65DB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#927B96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d65db;
/* rgb */ color: rgb(157, 101, 219);
/* oklch */ color: oklch(61.9% 0.177 303.6);
Tailwind
colors: {
  custom: {
    50: '#bd93e7',
    500: '#9d65db',
    950: '#000000',
  },
}
SCSS
$custom: #9d65db;
$custom-light: #bd93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65db",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 268.475,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.17667,
    "h": 303.6
  },
  "luminance": 0.2159
}

Semantic roles & 50–950 ramp

primary
#9D65DB
secondary
#CFE3B9
accent
#CA1C77
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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