#CC91F7#CC91F7

#CC91F7 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.154 H 309.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CC91F7
RGBrgb(204, 145, 247)
HSLhsl(275, 86%, 77%)
HSVhsv(275, 41%, 97%)
CMYKcmyk(17.4%, 41.3%, 0%, 3.1%)
CIE-LABlab(69.33, 40.65, -42.59)
CIE-LCHlch(69.33, 58.87, 313.66°)
OKLaboklab(75.21% 0.0983 -0.1182)
OKLCHoklch(75.21% 0.154 309.8)
XYZxyz(51.8127, 39.8043, 92.9312)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91F7 #BCF791
analogous
#9991F7 #CC91F7 #F791EF
triadic
#CC91F7 #F7CC91 #91F7CC
tetradic
#CC91F7 #F79991 #BCF791 #91EFF7
square
#CC91F7 #F79991 #BCF791 #91EFF7
split-complementary
#CC91F7 #EFF791 #91F799
monochromatic
#971FEF #B258F3 #CC91F7 #E6CAFB #F2E2FD

Accessibility & contrast

On white

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

On black

8.96
#CC91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91F7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91F7#FFFFFF#000000##000000
##CC91F71.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#C7A0B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc91f7;
/* rgb */ color: rgb(204, 145, 247);
/* oklch */ color: oklch(75.2% 0.154 309.8);
Tailwind
colors: {
  custom: {
    50: '#ddb2fa',
    500: '#cc91f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc91f7;
$custom-light: #ddb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91f7",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 274.706,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75207,
    "c": 0.15372,
    "h": 309.8
  },
  "luminance": 0.39804
}

Semantic roles & 50–950 ramp

primary
#CC91F7
secondary
#E3F5D6
accent
#E30361
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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