#CD90E8#CD90E8

#CD90E8 is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.4% C 0.138 H 315.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CD90E8
RGBrgb(205, 144, 232)
HSLhsl(282, 66%, 74%)
HSVhsv(282, 38%, 91%)
CMYKcmyk(11.6%, 37.9%, 0%, 9%)
CIE-LABlab(68.57, 38.32, -35.55)
CIE-LCHlch(68.57, 52.27, 317.15°)
OKLaboklab(74.45% 0.0979 -0.0979)
OKLCHoklch(74.45% 0.138 315)
XYZxyz(49.7133, 38.7529, 81.1895)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90E8 #ABE890
analogous
#A190E8 #CD90E8 #E890D7
triadic
#CD90E8 #E8CD90 #90E8CD
tetradic
#CD90E8 #E8A190 #ABE890 #90D7E8
square
#CD90E8 #E8A190 #ABE890 #90D7E8
split-complementary
#CD90E8 #D7E890 #90E8A1
monochromatic
#9F2CD2 #B65DDD #CD90E8 #E4C3F3 #F4E6FA

Accessibility & contrast

On white

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

On black

8.75
#CD90E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90E8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90E8#FFFFFF#000000##000000
##CD90E81.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EB
Deuteranopia (green-blind)
#90A9E5
Tritanopia (blue-blind)
#CC9CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd90e8;
/* rgb */ color: rgb(205, 144, 232);
/* oklch */ color: oklch(74.4% 0.138 315.0);
Tailwind
colors: {
  custom: {
    50: '#ddb1ef',
    500: '#cd90e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd90e8;
$custom-light: #ddb1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90e8",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 232
  },
  "hsl": {
    "h": 281.591,
    "s": 65.672,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74448,
    "c": 0.13848,
    "h": 315
  },
  "luminance": 0.38752
}

Semantic roles & 50–950 ramp

primary
#CD90E8
secondary
#E1F1DA
accent
#CE1850
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD90E8

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

Preview Lab → · Contrast checker → · Palette generator →

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