#9965CD#9965CD

#9965CD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.159 H 305.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9965CD
RGBrgb(153, 101, 205)
HSLhsl(270, 51%, 60%)
HSVhsv(270, 51%, 80%)
CMYKcmyk(25.4%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.38, 41.10, -46.23)
CIE-LCHlch(52.38, 61.86, 311.64°)
OKLaboklab(60.66% 0.0917 -0.1298)
OKLCHoklch(60.66% 0.159 305.2)
XYZxyz(28.8077, 20.4876, 60.1826)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9965CD #99CD65
analogous
#6565CD #9965CD #CD65CD
triadic
#9965CD #CD9965 #65CD99
tetradic
#9965CD #CD6565 #99CD65 #65CDCD
square
#9965CD #CD6565 #99CD65 #65CDCD
split-complementary
#9965CD #CDCD65 #65CD65
monochromatic
#5C2D8B #7A3CB9 #9965CD #B893DC #D6C1EB

Accessibility & contrast

On white

4.12
#9965CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9965CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9965CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9965CD#FFFFFF#000000##000000
##9965CD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#907890
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9965cd;
/* rgb */ color: rgb(153, 101, 205);
/* oklch */ color: oklch(60.7% 0.159 305.2);
Tailwind
colors: {
  custom: {
    50: '#b992dd',
    500: '#9965cd',
    950: '#000000',
  },
}
SCSS
$custom: #9965cd;
$custom-light: #b992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9965cd",
  "rgb": {
    "r": 153,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.60658,
    "c": 0.15889,
    "h": 305.2
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#9965CD
secondary
#C7DBB3
accent
#DA4D94
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9965CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9965CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva