#CD94EC#CD94EC

#CD94EC is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.3% C 0.136 H 313.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CD94EC
RGBrgb(205, 148, 236)
HSLhsl(279, 70%, 75%)
HSVhsv(279, 37%, 93%)
CMYKcmyk(13.1%, 37.3%, 0%, 7.5%)
CIE-LABlab(69.62, 36.98, -36.11)
CIE-LCHlch(69.62, 51.69, 315.68°)
OKLaboklab(75.3% 0.0931 -0.0995)
OKLCHoklch(75.3% 0.136 313.1)
XYZxyz(50.9046, 40.2160, 84.4215)
Luminance0.4022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94EC #B3EC94
analogous
#A194EC #CD94EC #EC94DF
triadic
#CD94EC #ECCD94 #94ECCD
tetradic
#CD94EC #ECA194 #B3EC94 #94DFEC
square
#CD94EC #ECA194 #B3EC94 #94DFEC
split-complementary
#CD94EC #DFEC94 #94ECA1
monochromatic
#9C2CDA #B560E3 #CD94EC #E5C8F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.04
#CD94EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94EC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94EC#FFFFFF#000000##000000
##CD94EC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#92ACE9
Tritanopia (blue-blind)
#CAA0B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd94ec;
/* rgb */ color: rgb(205, 148, 236);
/* oklch */ color: oklch(75.3% 0.136 313.1);
Tailwind
colors: {
  custom: {
    50: '#ddb4f2',
    500: '#cd94ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd94ec;
$custom-light: #ddb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94ec",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 278.864,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75297,
    "c": 0.13626,
    "h": 313.1
  },
  "luminance": 0.40215
}

Semantic roles & 50–950 ramp

primary
#CD94EC
secondary
#E2F2D9
accent
#D21457
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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