#CD94EB#CD94EB

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

Color values

HEX#CD94EB
RGBrgb(205, 148, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(12.8%, 37%, 0%, 7.8%)
CIE-LABlab(69.58, 36.77, -35.63)
CIE-LCHlch(69.58, 51.20, 315.91°)
OKLaboklab(75.25% 0.0928 -0.0981)
OKLCHoklch(75.25% 0.135 313.4)
XYZxyz(50.7597, 40.1581, 83.6585)
Luminance0.4016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94EB #B2EB94
analogous
#A194EB #CD94EB #EB94DE
triadic
#CD94EB #EBCD94 #94EBCD
tetradic
#CD94EB #EBA194 #B2EB94 #94DEEB
square
#CD94EB #EBA194 #B2EB94 #94DEEB
split-complementary
#CD94EB #DEEB94 #94EBA1
monochromatic
#9D2DD8 #B560E1 #CD94EB #E5C8F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.03
#CD94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94EB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94EB#FFFFFF#000000##000000
##CD94EB1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#CBA0B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd94eb;
/* rgb */ color: rgb(205, 148, 235);
/* oklch */ color: oklch(75.3% 0.135 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddb4f1',
    500: '#cd94eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd94eb;
$custom-light: #ddb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94eb",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 279.31,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75252,
    "c": 0.1351,
    "h": 313.4
  },
  "luminance": 0.40157
}

Semantic roles & 50–950 ramp

primary
#CD94EB
secondary
#E2F2D9
accent
#D01556
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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