#CD95E7#CD95E7

#CD95E7 is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.2% C 0.129 H 314.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CD95E7
RGBrgb(205, 149, 231)
HSLhsl(281, 63%, 75%)
HSVhsv(281, 35%, 91%)
CMYKcmyk(11.3%, 35.5%, 0%, 9.4%)
CIE-LABlab(69.64, 35.40, -33.34)
CIE-LCHlch(69.64, 48.63, 316.72°)
OKLaboklab(75.24% 0.0905 -0.0916)
OKLCHoklch(75.24% 0.129 314.7)
XYZxyz(50.3458, 40.2446, 80.7016)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95E7 #AFE795
analogous
#A495E7 #CD95E7 #E795D8
triadic
#CD95E7 #E7CD95 #95E7CD
tetradic
#CD95E7 #E7A495 #AFE795 #95D8E7
square
#CD95E7 #E7A495 #AFE795 #95D8E7
split-complementary
#CD95E7 #D8E795 #95E7A4
monochromatic
#9E31D0 #B563DC #CD95E7 #E5C7F2 #F3E6F9

Accessibility & contrast

On white

2.32
#CD95E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CD95E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95E7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95E7#FFFFFF#000000##000000
##CD95E71.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A7EA
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#CCA0B3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd95e7;
/* rgb */ color: rgb(205, 149, 231);
/* oklch */ color: oklch(75.2% 0.129 314.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5ef',
    500: '#cd95e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd95e7;
$custom-light: #ddb5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95e7",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 280.976,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75245,
    "c": 0.12877,
    "h": 314.7
  },
  "luminance": 0.40244
}

Semantic roles & 50–950 ramp

primary
#CD95E7
secondary
#E1F1DA
accent
#CB1B53
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD95E7

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

Preview Lab → · Contrast checker → · Palette generator →

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