#CC90EE#CC90EE

#CC90EE is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.6% C 0.145 H 312.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CC90EE
RGBrgb(204, 144, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.3%, 39.5%, 0%, 6.7%)
CIE-LABlab(68.72, 39.27, -38.62)
CIE-LCHlch(68.72, 55.08, 315.48°)
OKLaboklab(74.62% 0.098 -0.1067)
OKLCHoklch(74.62% 0.145 312.6)
XYZxyz(50.3051, 38.9579, 85.7419)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90EE #B2EE90
analogous
#9D90EE #CC90EE #EE90E1
triadic
#CC90EE #EECC90 #90EECC
tetradic
#CC90EE #EE9D90 #B2EE90 #90E1EE
square
#CC90EE #EE9D90 #B2EE90 #90E1EE
split-complementary
#CC90EE #E1EE90 #90EE9D
monochromatic
#9B26DE #B45BE6 #CC90EE #E4C5F6 #F3E4FB

Accessibility & contrast

On white

2.39
#CC90EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#CC90EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90EE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90EE#FFFFFF#000000##000000
##CC90EE1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F1
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#C99DB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc90ee;
/* rgb */ color: rgb(204, 144, 238);
/* oklch */ color: oklch(74.6% 0.145 312.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1f4',
    500: '#cc90ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc90ee;
$custom-light: #ddb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90ee",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 238
  },
  "hsl": {
    "h": 278.298,
    "s": 73.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.1449,
    "h": 312.6
  },
  "luminance": 0.38957
}

Semantic roles & 50–950 ramp

primary
#CC90EE
secondary
#E2F3D8
accent
#D61057
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC90EE

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

Preview Lab → · Contrast checker → · Palette generator →

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