#CD95E2#CD95E2

#CD95E2 is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.0% C 0.123 H 316.5°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CD95E2
RGBrgb(205, 149, 226)
HSLhsl(284, 57%, 74%)
HSVhsv(284, 34%, 89%)
CMYKcmyk(9.3%, 34.1%, 0%, 11.4%)
CIE-LABlab(69.45, 34.38, -30.89)
CIE-LCHlch(69.45, 46.22, 318.06°)
OKLaboklab(75.03% 0.0893 -0.0847)
OKLCHoklch(75.03% 0.123 316.5)
XYZxyz(49.6497, 39.9661, 77.0355)
Luminance0.3997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95E2 #AAE295
analogous
#A695E2 #CD95E2 #E295D0
triadic
#CD95E2 #E2CD95 #95E2CD
tetradic
#CD95E2 #E2A695 #AAE295 #95D0E2
square
#CD95E2 #E2A695 #AAE295 #95D0E2
split-complementary
#CD95E2 #D0E295 #95E2A6
monochromatic
#9F36C6 #B665D5 #CD95E2 #E4C5EF #F4E7F8

Accessibility & contrast

On white

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

On black

8.99
#CD95E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95E2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95E2#FFFFFF#000000##000000
##CD95E21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#97ABE0
Tritanopia (blue-blind)
#CD9EB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd95e2;
/* rgb */ color: rgb(205, 149, 226);
/* oklch */ color: oklch(75.0% 0.123 316.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5eb',
    500: '#cd95e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd95e2;
$custom-light: #ddb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95e2",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 283.636,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7503,
    "c": 0.12307,
    "h": 316.5
  },
  "luminance": 0.39965
}

Semantic roles & 50–950 ramp

primary
#CD95E2
secondary
#E1F0DB
accent
#C5214E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD95E2

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

Preview Lab → · Contrast checker → · Palette generator →

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