#CC4BE7#CC4BE7

#CC4BE7 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.9% C 0.241 H 320.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CC4BE7
RGBrgb(204, 75, 231)
HSLhsl(290, 76%, 60%)
HSVhsv(290, 68%, 91%)
CMYKcmyk(11.7%, 67.5%, 0%, 9.4%)
CIE-LABlab(55.73, 71.19, -55.25)
CIE-LCHlch(55.73, 90.11, 322.19°)
OKLaboklab(64.93% 0.1855 -0.1545)
OKLCHoklch(64.93% 0.241 320.2)
XYZxyz(41.8400, 23.6411, 77.9451)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BE7 #66E74B
analogous
#7E4BE7 #CC4BE7 #E74BB4
triadic
#CC4BE7 #E7CC4B #4BE7CC
tetradic
#CC4BE7 #E77E4B #66E74B #4BB4E7
square
#CC4BE7 #E77E4B #66E74B #4BB4E7
split-complementary
#CC4BE7 #B4E74B #4BE77E
monochromatic
#8A16A2 #B81DD8 #CC4BE7 #DB81EE #EBB7F5

Accessibility & contrast

On white

3.67
#CC4BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CC4BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BE7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BE7#FFFFFF#000000##000000
##CC4BE71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#087DEC
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#CD6794
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc4be7;
/* rgb */ color: rgb(204, 75, 231);
/* oklch */ color: oklch(64.9% 0.241 320.2);
Tailwind
colors: {
  custom: {
    50: '#df87ef',
    500: '#cc4be7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4be7;
$custom-light: #df87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4be7",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 289.615,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.24139,
    "h": 320.2
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#CC4BE7
secondary
#B3E5A9
accent
#F33556
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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