#CB95DC#CB95DC

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

Color values

HEX#CB95DC
RGBrgb(203, 149, 220)
HSLhsl(286, 50%, 72%)
HSVhsv(286, 32%, 86%)
CMYKcmyk(7.7%, 32.3%, 0%, 13.7%)
CIE-LABlab(69.01, 32.55, -28.27)
CIE-LCHlch(69.01, 43.12, 319.02°)
OKLaboklab(74.58% 0.0855 -0.0773)
OKLCHoklch(74.58% 0.115 317.9)
XYZxyz(48.2925, 39.3598, 72.7495)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95DC #A6DC95
analogous
#A895DC #CB95DC #DC95CA
triadic
#CB95DC #DCCB95 #95DCCB
tetradic
#CB95DC #DCA895 #A6DC95 #95CADC
square
#CB95DC #DCA895 #A6DC95 #95CADC
split-complementary
#CB95DC #CADC95 #95DCA8
monochromatic
#9C3DB9 #B467CD #CB95DC #E2C3EB #F4E8F7

Accessibility & contrast

On white

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

On black

8.87
#CB95DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95DC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95DC#FFFFFF#000000##000000
##CB95DC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#98AADA
Tritanopia (blue-blind)
#CB9DAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb95dc;
/* rgb */ color: rgb(203, 149, 220);
/* oklch */ color: oklch(74.6% 0.115 317.9);
Tailwind
colors: {
  custom: {
    50: '#dbb5e7',
    500: '#cb95dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb95dc;
$custom-light: #dbb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95dc",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 285.634,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74578,
    "c": 0.11525,
    "h": 317.9
  },
  "luminance": 0.39359
}

Semantic roles & 50–950 ramp

primary
#CB95DC
secondary
#E1EEDD
accent
#BE284C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB95DC

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

Preview Lab → · Contrast checker → · Palette generator →

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