#CD90FA#CD90FA

#CD90FA is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.3% C 0.159 H 309.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CD90FA
RGBrgb(205, 144, 250)
HSLhsl(275, 91%, 77%)
HSVhsv(275, 42%, 98%)
CMYKcmyk(18%, 42.4%, 0%, 2%)
CIE-LABlab(69.35, 42.11, -44.20)
CIE-LCHlch(69.35, 61.05, 313.62°)
OKLaboklab(75.29% 0.1014 -0.1228)
OKLCHoklch(75.29% 0.159 309.5)
XYZxyz(52.4022, 39.8285, 95.3511)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90FA #BDFA90
analogous
#9890FA #CD90FA #FA90F2
triadic
#CD90FA #FACD90 #90FACD
tetradic
#CD90FA #FA9890 #BDFA90 #90F2FA
square
#CD90FA #FA9890 #BDFA90 #90F2FA
split-complementary
#CD90FA #F2FA90 #90FA98
monochromatic
#981BF5 #B355F7 #CD90FA #E7CBFD #F2E2FE

Accessibility & contrast

On white

2.34
#CD90FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CD90FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90FA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90FA#FFFFFF#000000##000000
##CD90FA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#C7A0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90fa;
/* rgb */ color: rgb(205, 144, 250);
/* oklch */ color: oklch(75.3% 0.159 309.5);
Tailwind
colors: {
  custom: {
    50: '#deb1fc',
    500: '#cd90fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd90fa;
$custom-light: #deb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90fa",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 274.528,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75286,
    "c": 0.15921,
    "h": 309.5
  },
  "luminance": 0.39828
}

Semantic roles & 50–950 ramp

primary
#CD90FA
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90FA

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

Preview Lab → · Contrast checker → · Palette generator →

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