#CD7EC6#CD7EC6

#CD7EC6 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.0% C 0.135 H 330.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC6
RGBrgb(205, 126, 198)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 39%, 80%)
CMYKcmyk(0%, 38.5%, 3.4%, 19.6%)
CIE-LABlab(63.33, 41.41, -24.73)
CIE-LCHlch(63.33, 48.23, 329.15°)
OKLaboklab(70.05% 0.1166 -0.067)
OKLCHoklch(70.05% 0.135 330.1)
XYZxyz(42.8301, 31.9801, 57.3319)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC6 #7ECD85
analogous
#AC7ECD #CD7EC6 #CD7E9F
triadic
#CD7EC6 #C6CD7E #7EC6CD
tetradic
#CD7EC6 #CDAC7E #7ECD85 #7E9FCD
square
#CD7EC6 #CDAC7E #7ECD85 #7E9FCD
split-complementary
#CD7EC6 #9FCD7E #7ECDAC
monochromatic
#963A8E #BC52B3 #CD7EC6 #DEAAD9 #EFD6ED

Accessibility & contrast

On white

2.84
#CD7EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD7EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC6#FFFFFF#000000##000000
##CD7EC61.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C9
Deuteranopia (green-blind)
#8F9DC4
Tritanopia (blue-blind)
#D38499
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ec6;
/* rgb */ color: rgb(205, 126, 198);
/* oklch */ color: oklch(70.0% 0.135 330.1);
Tailwind
colors: {
  custom: {
    50: '#dda5d7',
    500: '#cd7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec6;
$custom-light: #dda5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec6",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 305.316,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.13452,
    "h": 330.1
  },
  "luminance": 0.31978
}

Semantic roles & 50–950 ramp

primary
#CD7EC6
secondary
#C6E1C8
accent
#B73A2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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