#CD90EC#CD90EC

#CD90EC is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.6% C 0.143 H 313.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD90EC
RGBrgb(205, 144, 236)
HSLhsl(280, 71%, 75%)
HSVhsv(280, 39%, 93%)
CMYKcmyk(13.1%, 39%, 0%, 7.5%)
CIE-LABlab(68.74, 39.15, -37.49)
CIE-LCHlch(68.74, 54.20, 316.24°)
OKLaboklab(74.63% 0.0988 -0.1034)
OKLCHoklch(74.63% 0.143 313.7)
XYZxyz(50.2880, 38.9828, 84.2159)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90EC #AFEC90
analogous
#9F90EC #CD90EC #EC90DD
triadic
#CD90EC #ECCD90 #90ECCD
tetradic
#CD90EC #EC9F90 #AFEC90 #90DDEC
square
#CD90EC #EC9F90 #AFEC90 #90DDEC
split-complementary
#CD90EC #DDEC90 #90EC9F
monochromatic
#9E27DA #B55CE3 #CD90EC #E5C4F5 #F3E5FB

Accessibility & contrast

On white

2.39
#CD90EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CD90EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90EC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90EC#FFFFFF#000000##000000
##CD90EC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#CB9DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd90ec;
/* rgb */ color: rgb(205, 144, 236);
/* oklch */ color: oklch(74.6% 0.143 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1f2',
    500: '#cd90ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd90ec;
$custom-light: #ddb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90ec",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 279.783,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74629,
    "c": 0.14303,
    "h": 313.7
  },
  "luminance": 0.38982
}

Semantic roles & 50–950 ramp

primary
#CD90EC
secondary
#E1F2D9
accent
#D31353
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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