#CB95D2#CB95D2

#CB95D2 is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.2% C 0.104 H 322.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CB95D2
RGBrgb(203, 149, 210)
HSLhsl(293, 40%, 70%)
HSVhsv(293, 29%, 82%)
CMYKcmyk(3.3%, 29%, 0%, 17.6%)
CIE-LABlab(68.64, 30.58, -23.32)
CIE-LCHlch(68.64, 38.46, 322.68°)
OKLaboklab(74.17% 0.0828 -0.0633)
OKLCHoklch(74.17% 0.104 322.6)
XYZxyz(47.0075, 38.8459, 65.9820)
Luminance0.3885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95D2 #9CD295
analogous
#AC95D2 #CB95D2 #D295BA
triadic
#CB95D2 #D2CB95 #95D2CB
tetradic
#CB95D2 #D2AC95 #9CD295 #95BAD2
square
#CB95D2 #D2AC95 #9CD295 #95BAD2
split-complementary
#CB95D2 #BAD295 #95D2AC
monochromatic
#9B47A6 #B66AC0 #CB95D2 #E0C0E4 #F4EAF6

Accessibility & contrast

On white

2.39
#CB95D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CB95D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95D2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95D2#FFFFFF#000000##000000
##CB95D21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D4
Deuteranopia (green-blind)
#9CAAD0
Tritanopia (blue-blind)
#CD9BAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb95d2;
/* rgb */ color: rgb(203, 149, 210);
/* oklch */ color: oklch(74.2% 0.104 322.6);
Tailwind
colors: {
  custom: {
    50: '#dbb4e0',
    500: '#cb95d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb95d2;
$custom-light: #dbb4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95d2",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 210
  },
  "hsl": {
    "h": 293.115,
    "s": 40.397,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.10424,
    "h": 322.6
  },
  "luminance": 0.38845
}

Semantic roles & 50–950 ramp

primary
#CB95D2
secondary
#DBEAD9
accent
#B33241
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB95D2

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

Preview Lab → · Contrast checker → · Palette generator →

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