#9D65CD#9D65CD

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

Color values

HEX#9D65CD
RGBrgb(157, 101, 205)
HSLhsl(272, 51%, 60%)
HSVhsv(272, 51%, 80%)
CMYKcmyk(23.4%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.82, 42.17, -45.51)
CIE-LCHlch(52.82, 62.05, 312.82°)
OKLaboklab(61.08% 0.0967 -0.1275)
OKLCHoklch(61.08% 0.16 307.2)
XYZxyz(29.5755, 20.8835, 60.2186)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65CD #95CD65
analogous
#6965CD #9D65CD #CD65C9
triadic
#9D65CD #CD9D65 #65CD9D
tetradic
#9D65CD #CD6965 #95CD65 #65C9CD
square
#9D65CD #CD6965 #95CD65 #65C9CD
split-complementary
#9D65CD #C9CD65 #65CD69
monochromatic
#5F2D8B #7F3CB9 #9D65CD #BA93DC #D8C1EB

Accessibility & contrast

On white

4.06
#9D65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9D65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65CD#FFFFFF#000000##000000
##9D65CD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#967790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d65cd;
/* rgb */ color: rgb(157, 101, 205);
/* oklch */ color: oklch(61.1% 0.160 307.2);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9d65cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d65cd;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65cd",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 272.308,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.16005,
    "h": 307.2
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#9D65CD
secondary
#C5DBB3
accent
#DA4D8E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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