#CD94EA#CD94EA

#CD94EA is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.2% C 0.134 H 313.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD94EA
RGBrgb(205, 148, 234)
HSLhsl(280, 67%, 75%)
HSVhsv(280, 37%, 92%)
CMYKcmyk(12.4%, 36.8%, 0%, 8.2%)
CIE-LABlab(69.54, 36.57, -35.14)
CIE-LCHlch(69.54, 50.71, 316.14°)
OKLaboklab(75.21% 0.0926 -0.0968)
OKLCHoklch(75.21% 0.134 313.7)
XYZxyz(50.6156, 40.1004, 82.8997)
Luminance0.4010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94EA #B1EA94
analogous
#A294EA #CD94EA #EA94DC
triadic
#CD94EA #EACD94 #94EACD
tetradic
#CD94EA #EAA294 #B1EA94 #94DCEA
square
#CD94EA #EAA294 #B1EA94 #94DCEA
split-complementary
#CD94EA #DCEA94 #94EAA2
monochromatic
#9D2ED6 #B561E0 #CD94EA #E5C7F4 #F3E5FA

Accessibility & contrast

On white

2.33
#CD94EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CD94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94EA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94EA#FFFFFF#000000##000000
##CD94EA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7ED
Deuteranopia (green-blind)
#93ABE7
Tritanopia (blue-blind)
#CBA0B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd94ea;
/* rgb */ color: rgb(205, 148, 234);
/* oklch */ color: oklch(75.2% 0.134 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddb4f1',
    500: '#cd94ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd94ea;
$custom-light: #ddb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94ea",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 279.767,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.13394,
    "h": 313.7
  },
  "luminance": 0.40099
}

Semantic roles & 50–950 ramp

primary
#CD94EA
secondary
#E2F1DA
accent
#CF1655
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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