#CB95DD#CB95DD

#CB95DD is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.6% C 0.116 H 317.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CB95DD
RGBrgb(203, 149, 221)
HSLhsl(285, 51%, 73%)
HSVhsv(285, 33%, 87%)
CMYKcmyk(8.1%, 32.6%, 0%, 13.3%)
CIE-LABlab(69.05, 32.75, -28.77)
CIE-LCHlch(69.05, 43.59, 318.71°)
OKLaboklab(74.62% 0.0858 -0.0786)
OKLCHoklch(74.62% 0.116 317.5)
XYZxyz(48.4253, 39.4130, 73.4491)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95DD #A7DD95
analogous
#A795DD #CB95DD #DD95CB
triadic
#CB95DD #DDCB95 #95DDCB
tetradic
#CB95DD #DDA795 #A7DD95 #95CBDD
square
#CB95DD #DDA795 #A7DD95 #95CBDD
split-complementary
#CB95DD #CBDD95 #95DDA7
monochromatic
#9C3CBB #B467CE #CB95DD #E2C3EC #F4E8F8

Accessibility & contrast

On white

2.36
#CB95DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CB95DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95DD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95DD#FFFFFF#000000##000000
##CB95DD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E0
Deuteranopia (green-blind)
#98AADB
Tritanopia (blue-blind)
#CB9EAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb95dd;
/* rgb */ color: rgb(203, 149, 221);
/* oklch */ color: oklch(74.6% 0.116 317.5);
Tailwind
colors: {
  custom: {
    50: '#dbb5e7',
    500: '#cb95dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb95dd;
$custom-light: #dbb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95dd",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 221
  },
  "hsl": {
    "h": 285,
    "s": 51.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74619,
    "c": 0.11638,
    "h": 317.5
  },
  "luminance": 0.39412
}

Semantic roles & 50–950 ramp

primary
#CB95DD
secondary
#E1EFDC
accent
#BF274D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB95DD

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

Preview Lab → · Contrast checker → · Palette generator →

#CB95DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva