#CD7FC2#CD7FC2

#CD7FC2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.0% C 0.129 H 332.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7FC2
RGBrgb(205, 127, 194)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 38%, 80%)
CMYKcmyk(0%, 38%, 5.4%, 19.6%)
CIE-LABlab(63.39, 40.16, -22.38)
CIE-LCHlch(63.39, 45.98, 330.87°)
OKLaboklab(70.05% 0.1141 -0.0604)
OKLCHoklch(70.05% 0.129 332.1)
XYZxyz(42.5034, 32.0550, 54.9769)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC2 #7FCD8A
analogous
#B17FCD #CD7FC2 #CD7F9B
triadic
#CD7FC2 #C2CD7F #7FC2CD
tetradic
#CD7FC2 #CDB17F #7FCD8A #7F9BCD
square
#CD7FC2 #CDB17F #7FCD8A #7F9BCD
split-complementary
#CD7FC2 #9BCD7F #7FCDB1
monochromatic
#973B8A #BC53AD #CD7FC2 #DEABD7 #EFD7EC

Accessibility & contrast

On white

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

On black

7.41
#CD7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC2#FFFFFF#000000##000000
##CD7FC21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C4
Deuteranopia (green-blind)
#919DC0
Tritanopia (blue-blind)
#D38498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7fc2;
/* rgb */ color: rgb(205, 127, 194);
/* oklch */ color: oklch(70.0% 0.129 332.1);
Tailwind
colors: {
  custom: {
    50: '#dda5d4',
    500: '#cd7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc2;
$custom-light: #dda5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc2",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 308.462,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.12912,
    "h": 332.1
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#CD7FC2
secondary
#C7E1CA
accent
#B7422F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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