#CC91FB#CC91FB

#CC91FB is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.4% C 0.158 H 308.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CC91FB
RGBrgb(204, 145, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(18.7%, 42.2%, 0%, 1.6%)
CIE-LABlab(69.51, 41.51, -44.50)
CIE-LCHlch(69.51, 60.85, 313.01°)
OKLaboklab(75.4% 0.099 -0.1237)
OKLCHoklch(75.4% 0.158 308.7)
XYZxyz(52.4365, 40.0538, 96.2169)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91FB #C0FB91
analogous
#9791FB #CC91FB #FB91F5
triadic
#CC91FB #FBCC91 #91FBCC
tetradic
#CC91FB #FB9791 #C0FB91 #91F5FB
square
#CC91FB #FB9791 #C0FB91 #91F5FB
split-complementary
#CC91FB #F5FB91 #91FB97
monochromatic
#951BF7 #B156F9 #CC91FB #E7CCFD #F1E1FE

Accessibility & contrast

On white

2.33
#CC91FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CC91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91FB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91FB#FFFFFF#000000##000000
##CC91FB1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#C6A1BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc91fb;
/* rgb */ color: rgb(204, 145, 251);
/* oklch */ color: oklch(75.4% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddb2fd',
    500: '#cc91fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc91fb;
$custom-light: #ddb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91fb",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 273.396,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.15841,
    "h": 308.7
  },
  "luminance": 0.40053
}

Semantic roles & 50–950 ramp

primary
#CC91FB
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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