#CD95E1#CD95E1

#CD95E1 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.0% C 0.122 H 316.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CD95E1
RGBrgb(205, 149, 225)
HSLhsl(284, 56%, 73%)
HSVhsv(284, 34%, 88%)
CMYKcmyk(8.9%, 33.8%, 0%, 11.8%)
CIE-LABlab(69.41, 34.18, -30.40)
CIE-LCHlch(69.41, 45.75, 318.35°)
OKLaboklab(74.99% 0.0891 -0.0833)
OKLCHoklch(74.99% 0.122 316.9)
XYZxyz(49.5129, 39.9114, 76.3150)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95E1 #A9E195
analogous
#A795E1 #CD95E1 #E195CF
triadic
#CD95E1 #E1CD95 #95E1CD
tetradic
#CD95E1 #E1A795 #A9E195 #95CFE1
square
#CD95E1 #E1A795 #A9E195 #95CFE1
split-complementary
#CD95E1 #CFE195 #95E1A7
monochromatic
#9F38C4 #B765D3 #CD95E1 #E3C5EE #F4E7F8

Accessibility & contrast

On white

2.34
#CD95E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CD95E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95E1
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95E1#FFFFFF#000000##000000
##CD95E11.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E4
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#CD9EB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd95e1;
/* rgb */ color: rgb(205, 149, 225);
/* oklch */ color: oklch(75.0% 0.122 316.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5ea',
    500: '#cd95e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd95e1;
$custom-light: #ddb5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95e1",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 225
  },
  "hsl": {
    "h": 284.211,
    "s": 55.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74988,
    "c": 0.12193,
    "h": 316.9
  },
  "luminance": 0.3991
}

Semantic roles & 50–950 ramp

primary
#CD95E1
secondary
#E1EFDC
accent
#C3224D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD95E1

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

Preview Lab → · Contrast checker → · Palette generator →

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