#CD90EF#CD90EF

#CD90EF is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.8% C 0.146 H 312.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD90EF
RGBrgb(205, 144, 239)
HSLhsl(279, 75%, 75%)
HSVhsv(279, 40%, 94%)
CMYKcmyk(14.2%, 39.7%, 0%, 6.3%)
CIE-LABlab(68.87, 39.77, -38.93)
CIE-LCHlch(68.87, 55.66, 315.61°)
OKLaboklab(74.77% 0.0994 -0.1076)
OKLCHoklch(74.77% 0.146 312.7)
XYZxyz(50.7275, 39.1586, 86.5307)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90EF #B2EF90
analogous
#9D90EF #CD90EF #EF90E2
triadic
#CD90EF #EFCD90 #90EFCD
tetradic
#CD90EF #EF9D90 #B2EF90 #90E2EF
square
#CD90EF #EF9D90 #B2EF90 #90E2EF
split-complementary
#CD90EF #E2EF90 #90EF9D
monochromatic
#9D25E0 #B55BE7 #CD90EF #E5C5F7 #F3E4FB

Accessibility & contrast

On white

2.38
#CD90EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CD90EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90EF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90EF#FFFFFF#000000##000000
##CD90EF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F3
Deuteranopia (green-blind)
#8DAAEC
Tritanopia (blue-blind)
#CA9DB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd90ef;
/* rgb */ color: rgb(205, 144, 239);
/* oklch */ color: oklch(74.8% 0.146 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1f4',
    500: '#cd90ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd90ef;
$custom-light: #ddb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90ef",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 278.526,
    "s": 74.803,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74767,
    "c": 0.14647,
    "h": 312.7
  },
  "luminance": 0.39158
}

Semantic roles & 50–950 ramp

primary
#CD90EF
secondary
#E2F3D8
accent
#D70F56
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD90EF

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

Preview Lab → · Contrast checker → · Palette generator →

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