#CC7BF2#CC7BF2

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

Color values

HEX#CC7BF2
RGBrgb(204, 123, 242)
HSLhsl(281, 82%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.7%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.50, 51.23, -47.45)
CIE-LCHlch(64.50, 69.83, 317.20°)
OKLaboklab(71.52% 0.1277 -0.1321)
OKLCHoklch(71.52% 0.184 314)
XYZxyz(48.0092, 33.4153, 87.9080)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF2 #A1F27B
analogous
#917BF2 #CC7BF2 #F27BDD
triadic
#CC7BF2 #F2CC7B #7BF2CC
tetradic
#CC7BF2 #F2917B #A1F27B #7BDDF2
square
#CC7BF2 #F2917B #A1F27B #7BDDF2
split-complementary
#CC7BF2 #DDF27B #7BF291
monochromatic
#9D16DD #B643ED #CC7BF2 #E2B3F7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.68
#CC7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF2#FFFFFF#000000##000000
##CC7BF21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7bf2;
/* rgb */ color: rgb(204, 123, 242);
/* oklch */ color: oklch(71.5% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#dea3f7',
    500: '#cc7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf2;
$custom-light: #dea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf2",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 280.84,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.18375,
    "h": 314
  },
  "luminance": 0.33414
}

Semantic roles & 50–950 ramp

primary
#CC7BF2
secondary
#DFF4D5
accent
#DE074C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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