#CC7BDF#CC7BDF

#CC7BDF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.164 H 319.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CC7BDF
RGBrgb(204, 123, 223)
HSLhsl(289, 61%, 68%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.5%, 44.8%, 0%, 12.5%)
CIE-LABlab(63.62, 47.39, -38.29)
CIE-LCHlch(63.62, 60.93, 321.06°)
OKLaboklab(70.58% 0.125 -0.1057)
OKLCHoklch(70.58% 0.164 319.8)
XYZxyz(45.3024, 32.3326, 73.6522)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BDF #8EDF7B
analogous
#9A7BDF #CC7BDF #DF7BC0
triadic
#CC7BDF #DFCC7B #7BDFCC
tetradic
#CC7BDF #DF9A7B #8EDF7B #7BC0DF
square
#CC7BDF #DF9A7B #8EDF7B #7BC0DF
split-complementary
#CC7BDF #C0DF7B #7BDF9A
monochromatic
#9A2CB4 #B94AD3 #CC7BDF #DFACEB #F2DEF7

Accessibility & contrast

On white

2.81
#CC7BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CC7BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BDF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BDF#FFFFFF#000000##000000
##CC7BDF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#CD88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7bdf;
/* rgb */ color: rgb(204, 123, 223);
/* oklch */ color: oklch(70.6% 0.164 319.8);
Tailwind
colors: {
  custom: {
    50: '#dda3e9',
    500: '#cc7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bdf;
$custom-light: #dda3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bdf",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 288.6,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70579,
    "c": 0.1637,
    "h": 319.8
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

primary
#CC7BDF
secondary
#D1EACB
accent
#C91D3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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