#CC90EB#CC90EB

#CC90EB is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.5% C 0.141 H 313.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CC90EB
RGBrgb(204, 144, 235)
HSLhsl(280, 69%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(13.2%, 38.7%, 0%, 7.8%)
CIE-LABlab(68.59, 38.64, -37.17)
CIE-LCHlch(68.59, 53.62, 316.11°)
OKLaboklab(74.48% 0.0974 -0.1026)
OKLCHoklch(74.48% 0.141 313.5)
XYZxyz(49.8680, 38.7830, 83.4400)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90EB #AFEB90
analogous
#9F90EB #CC90EB #EB90DD
triadic
#CC90EB #EBCC90 #90EBCC
tetradic
#CC90EB #EB9F90 #AFEB90 #90DDEB
square
#CC90EB #EB9F90 #AFEB90 #90DDEB
split-complementary
#CC90EB #DDEB90 #90EB9F
monochromatic
#9C28D8 #B45CE2 #CC90EB #E4C4F4 #F3E5FA

Accessibility & contrast

On white

2.40
#CC90EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CC90EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90EB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90EB#FFFFFF#000000##000000
##CC90EB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#CA9DB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc90eb;
/* rgb */ color: rgb(204, 144, 235);
/* oklch */ color: oklch(74.5% 0.141 313.5);
Tailwind
colors: {
  custom: {
    50: '#ddb1f1',
    500: '#cc90eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc90eb;
$custom-light: #ddb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90eb",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 279.56,
    "s": 69.466,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.14145,
    "h": 313.5
  },
  "luminance": 0.38782
}

Semantic roles & 50–950 ramp

primary
#CC90EB
secondary
#E2F2D9
accent
#D11455
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC90EB

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

Preview Lab → · Contrast checker → · Palette generator →

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