#CD90F3#CD90F3

#CD90F3 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.151 H 311.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CD90F3
RGBrgb(205, 144, 243)
HSLhsl(277, 80%, 76%)
HSVhsv(277, 41%, 95%)
CMYKcmyk(15.6%, 40.7%, 0%, 4.7%)
CIE-LABlab(69.04, 40.62, -40.85)
CIE-LCHlch(69.04, 57.61, 314.83°)
OKLaboklab(74.95% 0.1001 -0.1131)
OKLCHoklch(74.95% 0.151 311.5)
XYZxyz(51.3249, 39.3976, 89.6774)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F3 #B6F390
analogous
#9B90F3 #CD90F3 #F390E7
triadic
#CD90F3 #F3CD90 #90F3CD
tetradic
#CD90F3 #F39B90 #B6F390 #90E7F3
square
#CD90F3 #F39B90 #B6F390 #90E7F3
split-complementary
#CD90F3 #E7F390 #90F39B
monochromatic
#9B22E7 #B459ED #CD90F3 #E6C7F9 #F3E3FC

Accessibility & contrast

On white

2.37
#CD90F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CD90F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F3#FFFFFF#000000##000000
##CD90F31.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#8BAAF0
Tritanopia (blue-blind)
#C99EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd90f3;
/* rgb */ color: rgb(205, 144, 243);
/* oklch */ color: oklch(75.0% 0.151 311.5);
Tailwind
colors: {
  custom: {
    50: '#deb1f7',
    500: '#cd90f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f3;
$custom-light: #deb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f3",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 243
  },
  "hsl": {
    "h": 276.97,
    "s": 80.488,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74953,
    "c": 0.15108,
    "h": 311.5
  },
  "luminance": 0.39397
}

Semantic roles & 50–950 ramp

primary
#CD90F3
secondary
#E2F4D7
accent
#DD095A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F3

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

Preview Lab → · Contrast checker → · Palette generator →

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