#CD90E9#CD90E9

#CD90E9 is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.5% C 0.140 H 314.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD90E9
RGBrgb(205, 144, 233)
HSLhsl(281, 67%, 74%)
HSVhsv(281, 38%, 91%)
CMYKcmyk(12%, 38.2%, 0%, 8.6%)
CIE-LABlab(68.61, 38.53, -36.03)
CIE-LCHlch(68.61, 52.75, 316.92°)
OKLaboklab(74.49% 0.0982 -0.0993)
OKLCHoklch(74.49% 0.14 314.7)
XYZxyz(49.8558, 38.8099, 81.9397)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90E9 #ACE990
analogous
#A190E9 #CD90E9 #E990D8
triadic
#CD90E9 #E9CD90 #90E9CD
tetradic
#CD90E9 #E9A190 #ACE990 #90D8E9
square
#CD90E9 #E9A190 #ACE990 #90D8E9
split-complementary
#CD90E9 #D8E990 #90E9A1
monochromatic
#9F2AD4 #B65DDF #CD90E9 #E4C3F3 #F3E5FA

Accessibility & contrast

On white

2.40
#CD90E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CD90E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90E9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90E9#FFFFFF#000000##000000
##CD90E91.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EC
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#CB9CB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd90e9;
/* rgb */ color: rgb(205, 144, 233);
/* oklch */ color: oklch(74.5% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1f0',
    500: '#cd90e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd90e9;
$custom-light: #ddb1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90e9",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 233
  },
  "hsl": {
    "h": 281.124,
    "s": 66.917,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74493,
    "c": 0.13961,
    "h": 314.7
  },
  "luminance": 0.38809
}

Semantic roles & 50–950 ramp

primary
#CD90E9
secondary
#E1F1DA
accent
#CF1751
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD90E9

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

Preview Lab → · Contrast checker → · Palette generator →

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