#CD94E2#CD94E2

#CD94E2 is a light, vivid purple. Relative luminance 0.397; OKLCH L 74.9% C 0.125 H 316.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD94E2
RGBrgb(205, 148, 226)
HSLhsl(284, 57%, 73%)
HSVhsv(284, 35%, 89%)
CMYKcmyk(9.3%, 34.5%, 0%, 11.4%)
CIE-LABlab(69.22, 34.93, -31.24)
CIE-LCHlch(69.22, 46.86, 318.19°)
OKLaboklab(74.86% 0.0908 -0.0856)
OKLCHoklch(74.86% 0.125 316.7)
XYZxyz(49.4922, 39.6511, 76.9830)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94E2 #A9E294
analogous
#A694E2 #CD94E2 #E294D0
triadic
#CD94E2 #E2CD94 #94E2CD
tetradic
#CD94E2 #E2A694 #A9E294 #94D0E2
square
#CD94E2 #E2A694 #A9E294 #94D0E2
split-complementary
#CD94E2 #D0E294 #94E2A6
monochromatic
#9F36C6 #B664D5 #CD94E2 #E3C4EF #F4E7F8

Accessibility & contrast

On white

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

On black

8.93
#CD94E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94E2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94E2#FFFFFF#000000##000000
##CD94E21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd94e2;
/* rgb */ color: rgb(205, 148, 226);
/* oklch */ color: oklch(74.9% 0.125 316.7);
Tailwind
colors: {
  custom: {
    50: '#ddb4eb',
    500: '#cd94e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd94e2;
$custom-light: #ddb4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94e2",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 226
  },
  "hsl": {
    "h": 283.846,
    "s": 57.353,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74859,
    "c": 0.1248,
    "h": 316.7
  },
  "luminance": 0.3965
}

Semantic roles & 50–950 ramp

primary
#CD94E2
secondary
#E1F0DB
accent
#C5214D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94E2

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

Preview Lab → · Contrast checker → · Palette generator →

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