#9D65CE#9D65CE

#9D65CE is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.161 H 306.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D65CE
RGBrgb(157, 101, 206)
HSLhsl(272, 52%, 60%)
HSVhsv(272, 51%, 81%)
CMYKcmyk(23.8%, 51%, 0%, 19.2%)
CIE-LABlab(52.88, 42.41, -45.99)
CIE-LCHlch(52.88, 62.56, 312.68°)
OKLaboklab(61.14% 0.0968 -0.129)
OKLCHoklch(61.14% 0.161 306.9)
XYZxyz(29.6966, 20.9320, 60.8564)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65CE #96CE65
analogous
#6865CE #9D65CE #CE65CA
triadic
#9D65CE #CE9D65 #65CE9D
tetradic
#9D65CE #CE6865 #96CE65 #65CACE
square
#9D65CE #CE6865 #96CE65 #65CACE
split-complementary
#9D65CE #CACE65 #65CE68
monochromatic
#5F2D8C #7F3BBA #9D65CE #BB93DD #D8C2EC

Accessibility & contrast

On white

4.05
#9D65CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9D65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65CE#FFFFFF#000000##000000
##9D65CE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#967790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d65ce;
/* rgb */ color: rgb(157, 101, 206);
/* oklch */ color: oklch(61.1% 0.161 306.9);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9d65ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d65ce;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65ce",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 272,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.16124,
    "h": 306.9
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#9D65CE
secondary
#C6DCB3
accent
#BF266E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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