#CC4BFA#CC4BFA

#CC4BFA is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.1% C 0.258 H 315.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CC4BFA
RGBrgb(204, 75, 250)
HSLhsl(284, 95%, 64%)
HSVhsv(284, 70%, 98%)
CMYKcmyk(18.4%, 70%, 0%, 2%)
CIE-LABlab(56.85, 74.72, -64.05)
CIE-LCHlch(56.85, 98.41, 319.40°)
OKLaboklab(66.1% 0.1842 -0.1803)
OKLCHoklch(66.1% 0.258 315.6)
XYZxyz(44.6705, 24.7733, 92.8526)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BFA #79FA4B
analogous
#744BFA #CC4BFA #FA4BD0
triadic
#CC4BFA #FACC4B #4BFACC
tetradic
#CC4BFA #FA744B #79FA4B #4BD0FA
square
#CC4BFA #FA744B #79FA4B #4BD0FA
split-complementary
#CC4BFA #D0FA4B #4BFA74
monochromatic
#9305C5 #BB0FF8 #CC4BFA #DD87FC #EEC2FD

Accessibility & contrast

On white

3.53
#CC4BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CC4BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BFA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BFA#FFFFFF#000000##000000
##CC4BFA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#C96F9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4bfa;
/* rgb */ color: rgb(204, 75, 250);
/* oklch */ color: oklch(66.1% 0.258 315.6);
Tailwind
colors: {
  custom: {
    50: '#e088fd',
    500: '#cc4bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc4bfa;
$custom-light: #e088fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4bfa",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 250
  },
  "hsl": {
    "h": 284.229,
    "s": 94.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66099,
    "c": 0.25777,
    "h": 315.6
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#CC4BFA
secondary
#C2EFB2
accent
#E6003C
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CC4BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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