#CD90ED#CD90ED

#CD90ED is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.7% C 0.144 H 313.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CD90ED
RGBrgb(205, 144, 237)
HSLhsl(279, 72%, 75%)
HSVhsv(279, 39%, 93%)
CMYKcmyk(13.5%, 39.2%, 0%, 7.1%)
CIE-LABlab(68.78, 39.36, -37.97)
CIE-LCHlch(68.78, 54.68, 316.03°)
OKLaboklab(74.68% 0.099 -0.1048)
OKLCHoklch(74.68% 0.144 313.4)
XYZxyz(50.4336, 39.0411, 84.9832)
Luminance0.3904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90ED #B0ED90
analogous
#9F90ED #CD90ED #ED90DE
triadic
#CD90ED #EDCD90 #90EDCD
tetradic
#CD90ED #ED9F90 #B0ED90 #90DEED
square
#CD90ED #ED9F90 #B0ED90 #90DEED
split-complementary
#CD90ED #DEED90 #90ED9F
monochromatic
#9E27DC #B55BE4 #CD90ED #E5C5F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.81
#CD90ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90ED
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90ED#FFFFFF#000000##000000
##CD90ED1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F0
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#CA9DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd90ed;
/* rgb */ color: rgb(205, 144, 237);
/* oklch */ color: oklch(74.7% 0.144 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddb1f3',
    500: '#cd90ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd90ed;
$custom-light: #ddb1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90ed",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 237
  },
  "hsl": {
    "h": 279.355,
    "s": 72.093,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74675,
    "c": 0.14418,
    "h": 313.4
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#CD90ED
secondary
#E1F2D9
accent
#D41154
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD90ED

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

Preview Lab → · Contrast checker → · Palette generator →

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