#CC7BF3#CC7BF3

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

Color values

HEX#CC7BF3
RGBrgb(204, 123, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(16%, 49.4%, 0%, 4.7%)
CIE-LABlab(64.54, 51.44, -47.92)
CIE-LCHlch(64.54, 70.30, 317.03°)
OKLaboklab(71.57% 0.1278 -0.1335)
OKLCHoklch(71.57% 0.185 313.8)
XYZxyz(48.1598, 33.4756, 88.7011)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF3 #A2F37B
analogous
#907BF3 #CC7BF3 #F37BDE
triadic
#CC7BF3 #F3CC7B #7BF3CC
tetradic
#CC7BF3 #F3907B #A2F37B #7BDEF3
square
#CC7BF3 #F3907B #A2F37B #7BDEF3
split-complementary
#CC7BF3 #DEF37B #7BF390
monochromatic
#9D14DF #B643EE #CC7BF3 #E2B3F8 #F4E3FC

Accessibility & contrast

On white

2.73
#CC7BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CC7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF3#FFFFFF#000000##000000
##CC7BF31.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#C98EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7bf3;
/* rgb */ color: rgb(204, 123, 243);
/* oklch */ color: oklch(71.6% 0.185 313.8);
Tailwind
colors: {
  custom: {
    50: '#dea3f7',
    500: '#cc7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf3;
$custom-light: #dea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf3",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 280.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71571,
    "c": 0.18482,
    "h": 313.8
  },
  "luminance": 0.33474
}

Semantic roles & 50–950 ramp

primary
#CC7BF3
secondary
#E0F4D6
accent
#E0064D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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