#CC95FA#CC95FA

#CC95FA is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.151 H 308.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CC95FA
RGBrgb(204, 149, 250)
HSLhsl(273, 91%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(18.4%, 40.4%, 0%, 2%)
CIE-LABlab(70.34, 39.13, -42.65)
CIE-LCHlch(70.34, 57.88, 312.54°)
OKLaboklab(76.01% 0.0933 -0.1183)
OKLCHoklch(76.01% 0.151 308.2)
XYZxyz(52.9013, 41.2350, 95.5962)
Luminance0.4123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC95FA #C3FA95
analogous
#9995FA #CC95FA #FA95F6
triadic
#CC95FA #FACC95 #95FACC
tetradic
#CC95FA #FA9995 #C3FA95 #95F6FA
square
#CC95FA #FA9995 #C3FA95 #95F6FA
split-complementary
#CC95FA #F6FA95 #95FA99
monochromatic
#9420F4 #B05BF7 #CC95FA #E8CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.25
#CC95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC95FA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC95FA#FFFFFF#000000##000000
##CC95FA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#C6A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc95fa;
/* rgb */ color: rgb(204, 149, 250);
/* oklch */ color: oklch(76.0% 0.151 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb5fc',
    500: '#cc95fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc95fa;
$custom-light: #ddb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc95fa",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 272.673,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.15069,
    "h": 308.2
  },
  "luminance": 0.41234
}

Semantic roles & 50–950 ramp

primary
#CC95FA
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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