#CD94ED#CD94ED

#CD94ED is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.137 H 312.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CD94ED
RGBrgb(205, 148, 237)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(13.5%, 37.6%, 0%, 7.1%)
CIE-LABlab(69.66, 37.19, -36.59)
CIE-LCHlch(69.66, 52.17, 315.46°)
OKLaboklab(75.34% 0.0933 -0.1009)
OKLCHoklch(75.34% 0.137 312.7)
XYZxyz(51.0502, 40.2743, 85.1888)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94ED #B4ED94
analogous
#A094ED #CD94ED #ED94E0
triadic
#CD94ED #EDCD94 #94EDCD
tetradic
#CD94ED #EDA094 #B4ED94 #94E0ED
square
#CD94ED #EDA094 #B4ED94 #94E0ED
split-complementary
#CD94ED #E0ED94 #94EDA0
monochromatic
#9C2BDB #B560E4 #CD94ED #E5C8F6 #F3E5FB

Accessibility & contrast

On white

2.32
#CD94ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CD94ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94ED
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94ED#FFFFFF#000000##000000
##CD94ED1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#CAA0B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd94ed;
/* rgb */ color: rgb(205, 148, 237);
/* oklch */ color: oklch(75.3% 0.137 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddb4f3',
    500: '#cd94ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd94ed;
$custom-light: #ddb4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94ed",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 237
  },
  "hsl": {
    "h": 278.427,
    "s": 71.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75342,
    "c": 0.13742,
    "h": 312.7
  },
  "luminance": 0.40273
}

Semantic roles & 50–950 ramp

primary
#CD94ED
secondary
#E2F2D9
accent
#D31258
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD94ED

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

Preview Lab → · Contrast checker → · Palette generator →

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