#CC91F8#CC91F8

#CC91F8 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.155 H 309.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CC91F8
RGBrgb(204, 145, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 42%, 97%)
CMYKcmyk(17.7%, 41.5%, 0%, 2.7%)
CIE-LABlab(69.37, 40.86, -43.07)
CIE-LCHlch(69.37, 59.37, 313.49°)
OKLaboklab(75.25% 0.0985 -0.1195)
OKLCHoklch(75.25% 0.155 309.5)
XYZxyz(51.9674, 39.8662, 93.7460)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91F8 #BDF891
analogous
#9991F8 #CC91F8 #F891F0
triadic
#CC91F8 #F8CC91 #91F8CC
tetradic
#CC91F8 #F89991 #BDF891 #91F0F8
square
#CC91F8 #F89991 #BDF891 #91F0F8
split-complementary
#CC91F8 #F0F891 #91F899
monochromatic
#971EF1 #B157F4 #CC91F8 #E7CBFC #F2E2FD

Accessibility & contrast

On white

2.34
#CC91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CC91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91F8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91F8#FFFFFF#000000##000000
##CC91F81.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#C7A1B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc91f8;
/* rgb */ color: rgb(204, 145, 248);
/* oklch */ color: oklch(75.3% 0.155 309.5);
Tailwind
colors: {
  custom: {
    50: '#ddb2fb',
    500: '#cc91f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc91f8;
$custom-light: #ddb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91f8",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 274.369,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75254,
    "c": 0.15488,
    "h": 309.5
  },
  "luminance": 0.39865
}

Semantic roles & 50–950 ramp

primary
#CC91F8
secondary
#E3F5D6
accent
#E50162
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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