#CD90FD#CD90FD

#CD90FD is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.4% C 0.163 H 308.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CD90FD
RGBrgb(205, 144, 253)
HSLhsl(274, 96%, 78%)
HSVhsv(274, 43%, 99%)
CMYKcmyk(19%, 43.1%, 0%, 0.8%)
CIE-LABlab(69.48, 42.76, -45.62)
CIE-LCHlch(69.48, 62.53, 313.15°)
OKLaboklab(75.43% 0.1019 -0.1269)
OKLCHoklch(75.43% 0.163 308.8)
XYZxyz(52.8764, 40.0182, 97.8482)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90FD #C0FD90
analogous
#9690FD #CD90FD #FD90F6
triadic
#CD90FD #FDCD90 #90FDCD
tetradic
#CD90FD #FD9690 #C0FD90 #90F6FD
square
#CD90FD #FD9690 #C0FD90 #90F6FD
split-complementary
#CD90FD #F6FD90 #90FD96
monochromatic
#9718FB #B254FC #CD90FD #E8CCFE #F1E1FE

Accessibility & contrast

On white

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

On black

9.00
#CD90FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90FD
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90FD#FFFFFF#000000##000000
##CD90FD1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#C7A1BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd90fd;
/* rgb */ color: rgb(205, 144, 253);
/* oklch */ color: oklch(75.4% 0.163 308.8);
Tailwind
colors: {
  custom: {
    50: '#deb1fe',
    500: '#cd90fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd90fd;
$custom-light: #deb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90fd",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 253
  },
  "hsl": {
    "h": 273.578,
    "s": 96.46,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.16271,
    "h": 308.8
  },
  "luminance": 0.40018
}

Semantic roles & 50–950 ramp

primary
#CD90FD
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD90FD

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

Preview Lab → · Contrast checker → · Palette generator →

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