#CC7BF4#CC7BF4

#CC7BF4 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.186 H 313.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CC7BF4
RGBrgb(204, 123, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.4%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.59, 51.65, -48.40)
CIE-LCHlch(64.59, 70.78, 316.86°)
OKLaboklab(71.62% 0.1279 -0.1349)
OKLCHoklch(71.62% 0.186 313.5)
XYZxyz(48.3112, 33.5361, 89.4986)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF4 #A3F47B
analogous
#907BF4 #CC7BF4 #F47BE0
triadic
#CC7BF4 #F4CC7B #7BF4CC
tetradic
#CC7BF4 #F4907B #A3F47B #7BE0F4
square
#CC7BF4 #F4907B #A3F47B #7BE0F4
split-complementary
#CC7BF4 #E0F47B #7BF490
monochromatic
#9D13E2 #B643EF #CC7BF4 #E2B3F9 #F4E3FD

Accessibility & contrast

On white

2.72
#CC7BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CC7BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF4#FFFFFF#000000##000000
##CC7BF41.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#C98EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7bf4;
/* rgb */ color: rgb(204, 123, 244);
/* oklch */ color: oklch(71.6% 0.186 313.5);
Tailwind
colors: {
  custom: {
    50: '#dea3f8',
    500: '#cc7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf4;
$custom-light: #dea3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf4",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 280.165,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.18589,
    "h": 313.5
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#CC7BF4
secondary
#E0F5D6
accent
#E1044D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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