#CD90F6#CD90F6

#CD90F6 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.155 H 310.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CD90F6
RGBrgb(205, 144, 246)
HSLhsl(276, 85%, 76%)
HSVhsv(276, 41%, 96%)
CMYKcmyk(16.7%, 41.5%, 0%, 3.5%)
CIE-LABlab(69.17, 41.26, -42.29)
CIE-LCHlch(69.17, 59.08, 314.29°)
OKLaboklab(75.1% 0.1007 -0.1173)
OKLCHoklch(75.1% 0.155 310.6)
XYZxyz(51.7817, 39.5803, 92.0828)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F6 #B9F690
analogous
#9A90F6 #CD90F6 #F690EC
triadic
#CD90F6 #F6CD90 #90F6CD
tetradic
#CD90F6 #F69A90 #B9F690 #90ECF6
square
#CD90F6 #F69A90 #B9F690 #90ECF6
split-complementary
#CD90F6 #ECF690 #90F69A
monochromatic
#9A1FED #B357F1 #CD90F6 #E7C9FB #F2E3FD

Accessibility & contrast

On white

2.36
#CD90F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CD90F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F6
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F6#FFFFFF#000000##000000
##CD90F61.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#C89FB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90f6;
/* rgb */ color: rgb(205, 144, 246);
/* oklch */ color: oklch(75.1% 0.155 310.6);
Tailwind
colors: {
  custom: {
    50: '#deb1f9',
    500: '#cd90f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f6;
$custom-light: #deb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f6",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 246
  },
  "hsl": {
    "h": 275.882,
    "s": 85,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75095,
    "c": 0.15456,
    "h": 310.6
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#CD90F6
secondary
#E3F5D6
accent
#E1045D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F6

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

Preview Lab → · Contrast checker → · Palette generator →

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