#CB95DB#CB95DB

#CB95DB is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.5% C 0.114 H 318.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CB95DB
RGBrgb(203, 149, 219)
HSLhsl(286, 49%, 72%)
HSVhsv(286, 32%, 86%)
CMYKcmyk(7.3%, 32%, 0%, 14.1%)
CIE-LABlab(68.97, 32.35, -27.78)
CIE-LCHlch(68.97, 42.64, 319.35°)
OKLaboklab(74.54% 0.0853 -0.0759)
OKLCHoklch(74.54% 0.114 318.3)
XYZxyz(48.1605, 39.3070, 72.0541)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95DB #A5DB95
analogous
#A895DB #CB95DB #DB95C8
triadic
#CB95DB #DBCB95 #95DBCB
tetradic
#CB95DB #DBA895 #A5DB95 #95C8DB
square
#CB95DB #DBA895 #A5DB95 #95C8DB
split-complementary
#CB95DB #C8DB95 #95DBA8
monochromatic
#9C3EB7 #B567CB #CB95DB #E1C3EB #F4E8F7

Accessibility & contrast

On white

2.37
#CB95DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CB95DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95DB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95DB#FFFFFF#000000##000000
##CB95DB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#99AAD9
Tritanopia (blue-blind)
#CB9DAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb95db;
/* rgb */ color: rgb(203, 149, 219);
/* oklch */ color: oklch(74.5% 0.114 318.3);
Tailwind
colors: {
  custom: {
    50: '#dbb5e6',
    500: '#cb95db',
    950: '#000000',
  },
}
SCSS
$custom: #cb95db;
$custom-light: #dbb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95db",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 286.286,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.11412,
    "h": 318.3
  },
  "luminance": 0.39306
}

Semantic roles & 50–950 ramp

primary
#CB95DB
secondary
#E1EEDD
accent
#BD294B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB95DB

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

Preview Lab → · Contrast checker → · Palette generator →

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