#CC90FD#CC90FD

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

Color values

HEX#CC90FD
RGBrgb(204, 144, 253)
HSLhsl(273, 96%, 78%)
HSVhsv(273, 43%, 99%)
CMYKcmyk(19.4%, 43.1%, 0%, 0.8%)
CIE-LABlab(69.38, 42.49, -45.78)
CIE-LCHlch(69.38, 62.46, 312.86°)
OKLaboklab(75.33% 0.1007 -0.1274)
OKLCHoklch(75.33% 0.162 308.3)
XYZxyz(52.6013, 39.8763, 97.8353)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90FD #C1FD90
analogous
#9690FD #CC90FD #FD90F7
triadic
#CC90FD #FDCC90 #90FDCC
tetradic
#CC90FD #FD9690 #C1FD90 #90F7FD
square
#CC90FD #FD9690 #C1FD90 #90F7FD
split-complementary
#CC90FD #F7FD90 #90FD96
monochromatic
#9518FB #B054FC #CC90FD #E8CCFE #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC90FD#FFFFFF#000000##000000
##CC90FD1.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)
#77A7FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#C5A1BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc90fd;
/* rgb */ color: rgb(204, 144, 253);
/* oklch */ color: oklch(75.3% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#ddb1fe',
    500: '#cc90fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc90fd;
$custom-light: #ddb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90fd",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 253
  },
  "hsl": {
    "h": 273.028,
    "s": 96.46,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.16238,
    "h": 308.3
  },
  "luminance": 0.39876
}

Semantic roles & 50–950 ramp

primary
#CC90FD
secondary
#E4F7D4
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC90FD

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

Preview Lab → · Contrast checker → · Palette generator →

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