#CC7BDB#CC7BDB

#CC7BDB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.4% C 0.160 H 321.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CC7BDB
RGBrgb(204, 123, 219)
HSLhsl(291, 57%, 67%)
HSVhsv(291, 44%, 86%)
CMYKcmyk(6.8%, 43.8%, 0%, 14.1%)
CIE-LABlab(63.44, 46.61, -36.34)
CIE-LCHlch(63.44, 59.10, 322.06°)
OKLaboklab(70.39% 0.1244 -0.1)
OKLCHoklch(70.39% 0.16 321.2)
XYZxyz(44.7695, 32.1194, 70.8455)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BDB #8ADB7B
analogous
#9C7BDB #CC7BDB #DB7BBA
triadic
#CC7BDB #DBCC7B #7BDBCC
tetradic
#CC7BDB #DB9C7B #8ADB7B #7BBADB
square
#CC7BDB #DB9C7B #8ADB7B #7BBADB
split-complementary
#CC7BDB #BADB7B #7BDB9C
monochromatic
#992FAD #B94BCE #CC7BDB #DFABE8 #F1DBF5

Accessibility & contrast

On white

2.83
#CC7BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CC7BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BDB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BDB#FFFFFF#000000##000000
##CC7BDB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#CE87A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7bdb;
/* rgb */ color: rgb(204, 123, 219);
/* oklch */ color: oklch(70.4% 0.160 321.2);
Tailwind
colors: {
  custom: {
    50: '#dda3e6',
    500: '#cc7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bdb;
$custom-light: #dda3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bdb",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 290.625,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.1596,
    "h": 321.2
  },
  "luminance": 0.32118
}

Semantic roles & 50–950 ramp

primary
#CC7BDB
secondary
#CEE8CA
accent
#C5213A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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