#CD95DF#CD95DF

#CD95DF is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.9% C 0.120 H 317.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD95DF
RGBrgb(205, 149, 223)
HSLhsl(285, 54%, 73%)
HSVhsv(285, 33%, 87%)
CMYKcmyk(8.1%, 33.2%, 0%, 12.5%)
CIE-LABlab(69.33, 33.78, -29.42)
CIE-LCHlch(69.33, 44.80, 318.94°)
OKLaboklab(74.9% 0.0886 -0.0805)
OKLCHoklch(74.9% 0.12 317.7)
XYZxyz(49.2417, 39.8029, 74.8865)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95DF #A7DF95
analogous
#A895DF #CD95DF #DF95CC
triadic
#CD95DF #DFCD95 #95DFCD
tetradic
#CD95DF #DFA895 #A7DF95 #95CCDF
square
#CD95DF #DFA895 #A7DF95 #95CCDF
split-complementary
#CD95DF #CCDF95 #95DFA8
monochromatic
#9F3AC0 #B766D1 #CD95DF #E3C4ED #F4E7F8

Accessibility & contrast

On white

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

On black

8.96
#CD95DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95DF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95DF#FFFFFF#000000##000000
##CD95DF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E2
Deuteranopia (green-blind)
#98ABDD
Tritanopia (blue-blind)
#CD9EB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd95df;
/* rgb */ color: rgb(205, 149, 223);
/* oklch */ color: oklch(74.9% 0.120 317.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5e9',
    500: '#cd95df',
    950: '#000000',
  },
}
SCSS
$custom: #cd95df;
$custom-light: #ddb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95df",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 285.405,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74903,
    "c": 0.11968,
    "h": 317.7
  },
  "luminance": 0.39802
}

Semantic roles & 50–950 ramp

primary
#CD95DF
secondary
#E1EFDC
accent
#C1244B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD95DF

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

Preview Lab → · Contrast checker → · Palette generator →

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