#9D65CB#9D65CB

#9D65CB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.158 H 307.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9D65CB
RGBrgb(157, 101, 203)
HSLhsl(273, 50%, 60%)
HSVhsv(273, 50%, 80%)
CMYKcmyk(22.7%, 50.2%, 0%, 20.4%)
CIE-LABlab(52.72, 41.71, -44.53)
CIE-LCHlch(52.72, 61.02, 313.12°)
OKLaboklab(60.97% 0.0965 -0.1247)
OKLCHoklch(60.97% 0.158 307.7)
XYZxyz(29.3357, 20.7876, 58.9553)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65CB #93CB65
analogous
#6A65CB #9D65CB #CB65C6
triadic
#9D65CB #CB9D65 #65CB9D
tetradic
#9D65CB #CB6A65 #93CB65 #65C6CB
square
#9D65CB #CB6A65 #93CB65 #65C6CB
split-complementary
#9D65CB #C6CB65 #65CB6A
monochromatic
#5F2E88 #7F3DB6 #9D65CB #BA93DA #D7C1EA

Accessibility & contrast

On white

4.07
#9D65CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9D65CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65CB#FFFFFF#000000##000000
##9D65CB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#96778F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d65cb;
/* rgb */ color: rgb(157, 101, 203);
/* oklch */ color: oklch(61.0% 0.158 307.7);
Tailwind
colors: {
  custom: {
    50: '#bc92db',
    500: '#9d65cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d65cb;
$custom-light: #bc92db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65cb",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 272.941,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.15768,
    "h": 307.7
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#9D65CB
secondary
#C4DAB2
accent
#D94F8D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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