#CC90FE#CC90FE

#CC90FE is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.4% C 0.164 H 308.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CC90FE
RGBrgb(204, 144, 254)
HSLhsl(273, 98%, 78%)
HSVhsv(273, 43%, 100%)
CMYKcmyk(19.7%, 43.3%, 0%, 0.4%)
CIE-LABlab(69.43, 42.70, -46.26)
CIE-LCHlch(69.43, 62.96, 312.71°)
OKLaboklab(75.38% 0.1009 -0.1287)
OKLCHoklch(75.38% 0.164 308.1)
XYZxyz(52.7610, 39.9402, 98.6765)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90FE #C2FE90
analogous
#9590FE #CC90FE #FE90F9
triadic
#CC90FE #FECC90 #90FECC
tetradic
#CC90FE #FE9590 #C2FE90 #90F9FE
square
#CC90FE #FE9590 #C2FE90 #90F9FE
split-complementary
#CC90FE #F9FE90 #90FE95
monochromatic
#9417FD #B053FD #CC90FE #E8CDFF #F1E1FF

Accessibility & contrast

On white

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

On black

8.99
#CC90FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90FE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90FE#FFFFFF#000000##000000
##CC90FE1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#C5A1BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc90fe;
/* rgb */ color: rgb(204, 144, 254);
/* oklch */ color: oklch(75.4% 0.164 308.1);
Tailwind
colors: {
  custom: {
    50: '#ddb1ff',
    500: '#cc90fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc90fe;
$custom-light: #ddb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90fe",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 254
  },
  "hsl": {
    "h": 272.727,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75382,
    "c": 0.16355,
    "h": 308.1
  },
  "luminance": 0.3994
}

Semantic roles & 50–950 ramp

primary
#CC90FE
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC90FE

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

Preview Lab → · Contrast checker → · Palette generator →

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