#CC90EF#CC90EF

#CC90EF is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.7% C 0.146 H 312.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CC90EF
RGBrgb(204, 144, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 40%, 94%)
CMYKcmyk(14.6%, 39.7%, 0%, 6.3%)
CIE-LABlab(68.76, 39.48, -39.10)
CIE-LCHlch(68.76, 55.57, 315.28°)
OKLaboklab(74.67% 0.0982 -0.1081)
OKLCHoklch(74.67% 0.146 312.3)
XYZxyz(50.4524, 39.0168, 86.5178)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90EF #B3EF90
analogous
#9D90EF #CC90EF #EF90E2
triadic
#CC90EF #EFCC90 #90EFCC
tetradic
#CC90EF #EF9D90 #B3EF90 #90E2EF
square
#CC90EF #EF9D90 #B3EF90 #90E2EF
split-complementary
#CC90EF #E2EF90 #90EF9D
monochromatic
#9B25E0 #B35BE7 #CC90EF #E5C5F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.80
#CC90EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90EF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90EF#FFFFFF#000000##000000
##CC90EF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F3
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#C99EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc90ef;
/* rgb */ color: rgb(204, 144, 239);
/* oklch */ color: oklch(74.7% 0.146 312.3);
Tailwind
colors: {
  custom: {
    50: '#ddb1f4',
    500: '#cc90ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc90ef;
$custom-light: #ddb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90ef",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 277.895,
    "s": 74.803,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.14606,
    "h": 312.3
  },
  "luminance": 0.39016
}

Semantic roles & 50–950 ramp

primary
#CC90EF
secondary
#E2F3D8
accent
#D70F58
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC90EF

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

Preview Lab → · Contrast checker → · Palette generator →

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