#9565CB#9565CB

#9565CB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.155 H 303.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9565CB
RGBrgb(149, 101, 203)
HSLhsl(268, 50%, 60%)
HSVhsv(268, 50%, 80%)
CMYKcmyk(26.6%, 50.2%, 0%, 20.4%)
CIE-LABlab(51.85, 39.55, -45.97)
CIE-LCHlch(51.85, 60.64, 310.71°)
OKLaboklab(60.13% 0.0865 -0.1291)
OKLCHoklch(60.13% 0.155 303.8)
XYZxyz(27.8253, 20.0088, 58.8845)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9565CB #9BCB65
analogous
#6568CB #9565CB #C865CB
triadic
#9565CB #CB9565 #65CB95
tetradic
#9565CB #CB6568 #9BCB65 #65CBC8
square
#9565CB #CB6568 #9BCB65 #65CBC8
split-complementary
#9565CB #CBC865 #68CB65
monochromatic
#582E88 #763DB6 #9565CB #B493DA #D4C1EA

Accessibility & contrast

On white

4.20
#9565CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9565CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9565CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9565CB#FFFFFF#000000##000000
##9565CB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACF
Deuteranopia (green-blind)
#537CC8
Tritanopia (blue-blind)
#8C778F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9565cb;
/* rgb */ color: rgb(149, 101, 203);
/* oklch */ color: oklch(60.1% 0.155 303.8);
Tailwind
colors: {
  custom: {
    50: '#b792db',
    500: '#9565cb',
    950: '#000000',
  },
}
SCSS
$custom: #9565cb;
$custom-light: #b792db;
$custom-dark: #000000;
JSON
{
  "hex": "#9565cb",
  "rgb": {
    "r": 149,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 268.235,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.1554,
    "h": 303.8
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#9565CB
secondary
#C7DAB2
accent
#D94F98
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9565CB

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

Preview Lab → · Contrast checker → · Palette generator →

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