#CC7BF1#CC7BF1

#CC7BF1 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.183 H 314.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CC7BF1
RGBrgb(204, 123, 241)
HSLhsl(281, 81%, 71%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.4%, 49%, 0%, 5.5%)
CIE-LABlab(64.45, 51.03, -46.97)
CIE-LCHlch(64.45, 69.35, 317.37°)
OKLaboklab(71.47% 0.1276 -0.1307)
OKLCHoklch(71.47% 0.183 314.3)
XYZxyz(47.8594, 33.3554, 87.1191)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF1 #A0F17B
analogous
#917BF1 #CC7BF1 #F17BDB
triadic
#CC7BF1 #F1CC7B #7BF1CC
tetradic
#CC7BF1 #F1917B #A0F17B #7BDBF1
square
#CC7BF1 #F1917B #A0F17B #7BDBF1
split-complementary
#CC7BF1 #DBF17B #7BF191
monochromatic
#9D17DA #B744EB #CC7BF1 #E1B2F7 #F4E3FC

Accessibility & contrast

On white

2.74
#CC7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CC7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF1#FFFFFF#000000##000000
##CC7BF11.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F5
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#C98DAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7bf1;
/* rgb */ color: rgb(204, 123, 241);
/* oklch */ color: oklch(71.5% 0.183 314.3);
Tailwind
colors: {
  custom: {
    50: '#dea3f6',
    500: '#cc7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf1;
$custom-light: #dea3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf1",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 281.186,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71468,
    "c": 0.18268,
    "h": 314.3
  },
  "luminance": 0.33354
}

Semantic roles & 50–950 ramp

primary
#CC7BF1
secondary
#DEF3D5
accent
#DD084B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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