#9565CD#9565CD

#9565CD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.158 H 303.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9565CD
RGBrgb(149, 101, 205)
HSLhsl(268, 51%, 60%)
HSVhsv(268, 51%, 80%)
CMYKcmyk(27.3%, 50.7%, 0%, 19.6%)
CIE-LABlab(51.96, 40.04, -46.94)
CIE-LCHlch(51.96, 61.70, 310.46°)
OKLaboklab(60.24% 0.0867 -0.1319)
OKLCHoklch(60.24% 0.158 303.3)
XYZxyz(28.0651, 20.1047, 60.1478)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9565CD #9DCD65
analogous
#6569CD #9565CD #C965CD
triadic
#9565CD #CD9565 #65CD95
tetradic
#9565CD #CD6569 #9DCD65 #65CDC9
square
#9565CD #CD6569 #9DCD65 #65CDC9
split-complementary
#9565CD #CDC965 #69CD65
monochromatic
#582D8B #763CB9 #9565CD #B593DC #D5C1EB

Accessibility & contrast

On white

4.18
#9565CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9565CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9565CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9565CD#FFFFFF#000000##000000
##9565CD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#8B7890
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9565cd;
/* rgb */ color: rgb(149, 101, 205);
/* oklch */ color: oklch(60.2% 0.158 303.3);
Tailwind
colors: {
  custom: {
    50: '#b792dd',
    500: '#9565cd',
    950: '#000000',
  },
}
SCSS
$custom: #9565cd;
$custom-light: #b792dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9565cd",
  "rgb": {
    "r": 149,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 267.692,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.15787,
    "h": 303.3
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#9565CD
secondary
#C8DBB3
accent
#DA4D99
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9565CD

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

Preview Lab → · Contrast checker → · Palette generator →

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