#CD90FB#CD90FB

#CD90FB is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.160 H 309.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CD90FB
RGBrgb(205, 144, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.3%, 42.6%, 0%, 1.6%)
CIE-LABlab(69.39, 42.33, -44.67)
CIE-LCHlch(69.39, 61.54, 313.46°)
OKLaboklab(75.33% 0.1015 -0.1241)
OKLCHoklch(75.33% 0.16 309.3)
XYZxyz(52.5594, 39.8914, 96.1791)
Luminance0.3989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90FB #BEFB90
analogous
#9890FB #CD90FB #FB90F3
triadic
#CD90FB #FBCD90 #90FBCD
tetradic
#CD90FB #FB9890 #BEFB90 #90F3FB
square
#CD90FB #FB9890 #BEFB90 #90F3FB
split-complementary
#CD90FB #F3FB90 #90FB98
monochromatic
#981AF7 #B255F9 #CD90FB #E8CBFD #F2E1FE

Accessibility & contrast

On white

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

On black

8.98
#CD90FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90FB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90FB#FFFFFF#000000##000000
##CD90FB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#88AAF8
Tritanopia (blue-blind)
#C7A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90fb;
/* rgb */ color: rgb(205, 144, 251);
/* oklch */ color: oklch(75.3% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#deb1fd',
    500: '#cd90fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd90fb;
$custom-light: #deb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90fb",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 251
  },
  "hsl": {
    "h": 274.206,
    "s": 93.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75335,
    "c": 0.16038,
    "h": 309.3
  },
  "luminance": 0.39891
}

Semantic roles & 50–950 ramp

primary
#CD90FB
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90FB

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

Preview Lab → · Contrast checker → · Palette generator →

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