#CC90FA#CC90FA

#CC90FA is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.159 H 309.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CC90FA
RGBrgb(204, 144, 250)
HSLhsl(274, 91%, 77%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18.4%, 42.4%, 0%, 2%)
CIE-LABlab(69.25, 41.83, -44.36)
CIE-LCHlch(69.25, 60.98, 313.32°)
OKLaboklab(75.19% 0.1002 -0.1233)
OKLCHoklch(75.19% 0.159 309.1)
XYZxyz(52.1272, 39.6867, 95.3382)
Luminance0.3969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90FA #BEFA90
analogous
#9790FA #CC90FA #FA90F3
triadic
#CC90FA #FACC90 #90FACC
tetradic
#CC90FA #FA9790 #BEFA90 #90F3FA
square
#CC90FA #FA9790 #BEFA90 #90F3FA
split-complementary
#CC90FA #F3FA90 #90FA97
monochromatic
#961BF5 #B155F7 #CC90FA #E7CBFD #F2E2FE

Accessibility & contrast

On white

2.35
#CC90FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CC90FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90FA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90FA#FFFFFF#000000##000000
##CC90FA1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#C6A0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc90fa;
/* rgb */ color: rgb(204, 144, 250);
/* oklch */ color: oklch(75.2% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#ddb1fc',
    500: '#cc90fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc90fa;
$custom-light: #ddb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90fa",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 273.962,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75187,
    "c": 0.15886,
    "h": 309.1
  },
  "luminance": 0.39686
}

Semantic roles & 50–950 ramp

primary
#CC90FA
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC90FA

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

Preview Lab → · Contrast checker → · Palette generator →

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