#CD94EF#CD94EF

#CD94EF is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.4% C 0.140 H 312.1°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CD94EF
RGBrgb(205, 148, 239)
HSLhsl(278, 74%, 76%)
HSVhsv(278, 38%, 94%)
CMYKcmyk(14.2%, 38.1%, 0%, 6.3%)
CIE-LABlab(69.75, 37.61, -37.56)
CIE-LCHlch(69.75, 53.15, 315.04°)
OKLaboklab(75.43% 0.0937 -0.1037)
OKLCHoklch(75.43% 0.14 312.1)
XYZxyz(51.3441, 40.3918, 86.7362)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94EF #B6EF94
analogous
#9F94EF #CD94EF #EF94E4
triadic
#CD94EF #EFCD94 #94EFCD
tetradic
#CD94EF #EF9F94 #B6EF94 #94E4EF
square
#CD94EF #EF9F94 #B6EF94 #94E4EF
split-complementary
#CD94EF #E4EF94 #94EF9F
monochromatic
#9B2ADF #B45FE7 #CD94EF #E6C9F7 #F3E4FB

Accessibility & contrast

On white

2.31
#CD94EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CD94EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94EF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94EF#FFFFFF#000000##000000
##CD94EF1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#CAA1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd94ef;
/* rgb */ color: rgb(205, 148, 239);
/* oklch */ color: oklch(75.4% 0.140 312.1);
Tailwind
colors: {
  custom: {
    50: '#ddb4f4',
    500: '#cd94ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd94ef;
$custom-light: #ddb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94ef",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 277.582,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.13975,
    "h": 312.1
  },
  "luminance": 0.40391
}

Semantic roles & 50–950 ramp

primary
#CD94EF
secondary
#E2F3D8
accent
#D60F5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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