#CC90F8#CC90F8

#CC90F8 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.157 H 309.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CC90F8
RGBrgb(204, 144, 248)
HSLhsl(275, 88%, 77%)
HSVhsv(275, 42%, 97%)
CMYKcmyk(17.7%, 41.9%, 0%, 2.7%)
CIE-LABlab(69.16, 41.40, -43.41)
CIE-LCHlch(69.16, 59.99, 313.64°)
OKLaboklab(75.09% 0.0999 -0.1205)
OKLCHoklch(75.09% 0.157 309.6)
XYZxyz(51.8152, 39.5619, 93.6953)
Luminance0.3956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC90F8 #BCF890
analogous
#9890F8 #CC90F8 #F890F0
triadic
#CC90F8 #F8CC90 #90F8CC
tetradic
#CC90F8 #F89890 #BCF890 #90F0F8
square
#CC90F8 #F89890 #BCF890 #90F0F8
split-complementary
#CC90F8 #F0F890 #90F898
monochromatic
#971DF1 #B256F4 #CC90F8 #E6CAFC #F2E2FD

Accessibility & contrast

On white

2.36
#CC90F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CC90F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC90F8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC90F8#FFFFFF#000000##000000
##CC90F81.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#C7A0B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc90f8;
/* rgb */ color: rgb(204, 144, 248);
/* oklch */ color: oklch(75.1% 0.157 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1fb',
    500: '#cc90f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc90f8;
$custom-light: #ddb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc90f8",
  "rgb": {
    "r": 204,
    "g": 144,
    "b": 248
  },
  "hsl": {
    "h": 274.615,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75091,
    "c": 0.15652,
    "h": 309.6
  },
  "luminance": 0.39561
}

Semantic roles & 50–950 ramp

primary
#CC90F8
secondary
#E3F5D6
accent
#E50161
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC90F8

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

Preview Lab → · Contrast checker → · Palette generator →

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