#CD90F8#CD90F8

#CD90F8 is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.157 H 310.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CD90F8
RGBrgb(205, 144, 248)
HSLhsl(275, 88%, 77%)
HSVhsv(275, 42%, 97%)
CMYKcmyk(17.3%, 41.9%, 0%, 2.7%)
CIE-LABlab(69.26, 41.68, -43.24)
CIE-LCHlch(69.26, 60.06, 313.95°)
OKLaboklab(75.19% 0.101 -0.12)
OKLCHoklch(75.19% 0.157 310.1)
XYZxyz(52.0903, 39.7037, 93.7082)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F8 #BBF890
analogous
#9990F8 #CD90F8 #F890EF
triadic
#CD90F8 #F8CD90 #90F8CD
tetradic
#CD90F8 #F89990 #BBF890 #90EFF8
square
#CD90F8 #F89990 #BBF890 #90EFF8
split-complementary
#CD90F8 #EFF890 #90F899
monochromatic
#991DF1 #B356F4 #CD90F8 #E7CAFC #F2E2FD

Accessibility & contrast

On white

2.35
#CD90F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CD90F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F8#FFFFFF#000000##000000
##CD90F81.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#C8A0B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90f8;
/* rgb */ color: rgb(205, 144, 248);
/* oklch */ color: oklch(75.2% 0.157 310.1);
Tailwind
colors: {
  custom: {
    50: '#deb1fb',
    500: '#cd90f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f8;
$custom-light: #deb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f8",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 248
  },
  "hsl": {
    "h": 275.192,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7519,
    "c": 0.15688,
    "h": 310.1
  },
  "luminance": 0.39703
}

Semantic roles & 50–950 ramp

primary
#CD90F8
secondary
#E3F5D6
accent
#E5015F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F8

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

Preview Lab → · Contrast checker → · Palette generator →

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