#CD90FE#CD90FE

#CD90FE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.5% C 0.164 H 308.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD90FE
RGBrgb(205, 144, 254)
HSLhsl(273, 98%, 78%)
HSVhsv(273, 43%, 100%)
CMYKcmyk(19.3%, 43.3%, 0%, 0.4%)
CIE-LABlab(69.53, 42.98, -46.09)
CIE-LCHlch(69.53, 63.02, 313.00°)
OKLaboklab(75.48% 0.102 -0.1282)
OKLCHoklch(75.48% 0.164 308.5)
XYZxyz(53.0361, 40.0821, 98.6894)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90FE #C1FE90
analogous
#9690FE #CD90FE #FE90F8
triadic
#CD90FE #FECD90 #90FECD
tetradic
#CD90FE #FE9690 #C1FE90 #90F8FE
square
#CD90FE #FE9690 #C1FE90 #90F8FE
split-complementary
#CD90FE #F8FE90 #90FE96
monochromatic
#9617FD #B253FD #CD90FE #E8CDFF #F1E1FF

Accessibility & contrast

On white

2.33
#CD90FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CD90FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90FE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90FE#FFFFFF#000000##000000
##CD90FE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C6A1BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd90fe;
/* rgb */ color: rgb(205, 144, 254);
/* oklch */ color: oklch(75.5% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#deb1ff',
    500: '#cd90fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd90fe;
$custom-light: #deb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90fe",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 254
  },
  "hsl": {
    "h": 273.273,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.16388,
    "h": 308.5
  },
  "luminance": 0.40081
}

Semantic roles & 50–950 ramp

primary
#CD90FE
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD90FE

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

Preview Lab → · Contrast checker → · Palette generator →

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