#CC91F2#CC91F2

#CC91F2 is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.0% C 0.148 H 311.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CC91F2
RGBrgb(204, 145, 242)
HSLhsl(276, 79%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(15.7%, 40.1%, 0%, 5.1%)
CIE-LABlab(69.11, 39.58, -40.20)
CIE-LCHlch(69.11, 56.41, 314.55°)
OKLaboklab(74.97% 0.0974 -0.1113)
OKLCHoklch(74.97% 0.148 311.2)
XYZxyz(51.0514, 39.4998, 88.9220)
Luminance0.3950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91F2 #B7F291
analogous
#9B91F2 #CC91F2 #F291E7
triadic
#CC91F2 #F2CC91 #91F2CC
tetradic
#CC91F2 #F29B91 #B7F291 #91E7F2
square
#CC91F2 #F29B91 #B7F291 #91E7F2
split-complementary
#CC91F2 #E7F291 #91F29B
monochromatic
#9924E5 #B35AEC #CC91F2 #E5C8F8 #F2E4FC

Accessibility & contrast

On white

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

On black

8.90
#CC91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91F2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91F2#FFFFFF#000000##000000
##CC91F21.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#C89FB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc91f2;
/* rgb */ color: rgb(204, 145, 242);
/* oklch */ color: oklch(75.0% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2f6',
    500: '#cc91f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc91f2;
$custom-light: #ddb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91f2",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 276.495,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.14787,
    "h": 311.2
  },
  "luminance": 0.39499
}

Semantic roles & 50–950 ramp

primary
#CC91F2
secondary
#E2F4D7
accent
#DB0A5C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CC91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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