#CE7DC2#CE7DC2

#CE7DC2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.133 H 332.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CE7DC2
RGBrgb(206, 125, 194)
HSLhsl(309, 45%, 65%)
HSVhsv(309, 39%, 81%)
CMYKcmyk(0%, 39.3%, 5.8%, 19.2%)
CIE-LABlab(63.08, 41.54, -22.84)
CIE-LCHlch(63.08, 47.41, 331.20°)
OKLaboklab(69.84% 0.1183 -0.0617)
OKLCHoklch(69.84% 0.133 332.4)
XYZxyz(42.5244, 31.6863, 54.9046)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DC2 #7DCE89
analogous
#B27DCE #CE7DC2 #CE7D9A
triadic
#CE7DC2 #C2CE7D #7DC2CE
tetradic
#CE7DC2 #CEB27D #7DCE89 #7D9ACE
square
#CE7DC2 #CEB27D #7DCE89 #7D9ACE
split-complementary
#CE7DC2 #9ACE7D #7DCEB2
monochromatic
#97398A #BD51AD #CE7DC2 #DFA9D7 #F0D6EC

Accessibility & contrast

On white

2.86
#CE7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CE7DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DC2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DC2#FFFFFF#000000##000000
##CE7DC21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C5
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#D58297
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ce7dc2;
/* rgb */ color: rgb(206, 125, 194);
/* oklch */ color: oklch(69.8% 0.133 332.4);
Tailwind
colors: {
  custom: {
    50: '#dea4d4',
    500: '#ce7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7dc2;
$custom-light: #dea4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7dc2",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 308.889,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69841,
    "c": 0.13339,
    "h": 332.4
  },
  "luminance": 0.31684
}

Semantic roles & 50–950 ramp

primary
#CE7DC2
secondary
#C6E1CA
accent
#B8422D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CE7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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