#CD7FC3#CD7FC3

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

Color values

HEX#CD7FC3
RGBrgb(205, 127, 195)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 38%, 80%)
CMYKcmyk(0%, 38%, 4.9%, 19.6%)
CIE-LABlab(63.43, 40.34, -22.89)
CIE-LCHlch(63.43, 46.38, 330.43°)
OKLaboklab(70.09% 0.1144 -0.0619)
OKLCHoklch(70.09% 0.13 331.6)
XYZxyz(42.6161, 32.1001, 55.5704)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC3 #7FCD89
analogous
#B07FCD #CD7FC3 #CD7F9C
triadic
#CD7FC3 #C3CD7F #7FC3CD
tetradic
#CD7FC3 #CDB07F #7FCD89 #7F9CCD
square
#CD7FC3 #CDB07F #7FCD89 #7F9CCD
split-complementary
#CD7FC3 #9CCD7F #7FCDB0
monochromatic
#973B8B #BC53AE #CD7FC3 #DEABD8 #EFD7EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FC3#FFFFFF#000000##000000
##CD7FC31.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)
#7D93C5
Deuteranopia (green-blind)
#919EC1
Tritanopia (blue-blind)
#D38498
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc3;
/* rgb */ color: rgb(205, 127, 195);
/* oklch */ color: oklch(70.1% 0.130 331.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d5',
    500: '#cd7fc3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc3;
$custom-light: #dda5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc3",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 195
  },
  "hsl": {
    "h": 307.692,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70086,
    "c": 0.13001,
    "h": 331.6
  },
  "luminance": 0.32098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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