#CC91F9#CC91F9

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

Color values

HEX#CC91F9
RGBrgb(204, 145, 249)
HSLhsl(274, 90%, 77%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18.1%, 41.8%, 0%, 2.4%)
CIE-LABlab(69.42, 41.08, -43.55)
CIE-LCHlch(69.42, 59.86, 313.33°)
OKLaboklab(75.3% 0.0987 -0.1209)
OKLCHoklch(75.3% 0.156 309.2)
XYZxyz(52.1229, 39.9284, 94.5653)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91F9 #BEF991
analogous
#9891F9 #CC91F9 #F991F2
triadic
#CC91F9 #F9CC91 #91F9CC
tetradic
#CC91F9 #F99891 #BEF991 #91F2F9
square
#CC91F9 #F99891 #BEF991 #91F2F9
split-complementary
#CC91F9 #F2F991 #91F998
monochromatic
#961DF3 #B157F6 #CC91F9 #E7CBFC #F2E2FD

Accessibility & contrast

On white

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

On black

8.99
#CC91F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91F9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91F9#FFFFFF#000000##000000
##CC91F91.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#89AAF6
Tritanopia (blue-blind)
#C6A1B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc91f9;
/* rgb */ color: rgb(204, 145, 249);
/* oklch */ color: oklch(75.3% 0.156 309.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2fb',
    500: '#cc91f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc91f9;
$custom-light: #ddb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91f9",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 274.038,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.15606,
    "h": 309.2
  },
  "luminance": 0.39928
}

Semantic roles & 50–950 ramp

primary
#CC91F9
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC91F9

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

Preview Lab → · Contrast checker → · Palette generator →

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