#CB95E2#CB95E2

#CB95E2 is a light, vivid purple. Relative luminance 0.397; OKLCH L 74.8% C 0.122 H 315.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CB95E2
RGBrgb(203, 149, 226)
HSLhsl(282, 57%, 74%)
HSVhsv(282, 34%, 89%)
CMYKcmyk(10.2%, 34.1%, 0%, 11.4%)
CIE-LABlab(69.24, 33.77, -31.22)
CIE-LCHlch(69.24, 45.99, 317.24°)
OKLaboklab(74.83% 0.087 -0.0856)
OKLCHoklch(74.83% 0.122 315.5)
XYZxyz(49.1014, 39.6834, 77.0098)
Luminance0.3968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95E2 #ACE295
analogous
#A495E2 #CB95E2 #E295D2
triadic
#CB95E2 #E2CB95 #95E2CB
tetradic
#CB95E2 #E2A495 #ACE295 #95D2E2
square
#CB95E2 #E2A495 #ACE295 #95D2E2
split-complementary
#CB95E2 #D2E295 #95E2A4
monochromatic
#9B36C6 #B365D5 #CB95E2 #E3C5EF #F3E7F8

Accessibility & contrast

On white

2.35
#CB95E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CB95E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95E2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95E2#FFFFFF#000000##000000
##CB95E21.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#96ABE0
Tritanopia (blue-blind)
#CA9FB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb95e2;
/* rgb */ color: rgb(203, 149, 226);
/* oklch */ color: oklch(74.8% 0.122 315.5);
Tailwind
colors: {
  custom: {
    50: '#dcb5eb',
    500: '#cb95e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb95e2;
$custom-light: #dcb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95e2",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 282.078,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74831,
    "c": 0.12208,
    "h": 315.5
  },
  "luminance": 0.39682
}

Semantic roles & 50–950 ramp

primary
#CB95E2
secondary
#E1F0DB
accent
#C52152
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB95E2

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

Preview Lab → · Contrast checker → · Palette generator →

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