#CC95FB#CC95FB

#CC95FB is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.152 H 308.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CC95FB
RGBrgb(204, 149, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(18.7%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.38, 39.35, -43.12)
CIE-LCHlch(70.38, 58.38, 312.38°)
OKLaboklab(76.06% 0.0935 -0.1197)
OKLCHoklch(76.06% 0.152 308)
XYZxyz(53.0585, 41.2978, 96.4242)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95FB #C4FB95
analogous
#9995FB #CC95FB #FB95F7
triadic
#CC95FB #FBCC95 #95FBCC
tetradic
#CC95FB #FB9995 #C4FB95 #95F7FB
square
#CC95FB #FB9995 #C4FB95 #95F7FB
split-complementary
#CC95FB #F7FB95 #95FB99
monochromatic
#931FF7 #B05AF9 #CC95FB #E8D0FD #F1E2FE

Accessibility & contrast

On white

2.27
#CC95FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CC95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95FB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95FB#FFFFFF#000000##000000
##CC95FB1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#C6A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc95fb;
/* rgb */ color: rgb(204, 149, 251);
/* oklch */ color: oklch(76.1% 0.152 308.0);
Tailwind
colors: {
  custom: {
    50: '#ddb5fd',
    500: '#cc95fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc95fb;
$custom-light: #ddb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95fb",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 272.353,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76058,
    "c": 0.15189,
    "h": 308
  },
  "luminance": 0.41297
}

Semantic roles & 50–950 ramp

primary
#CC95FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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