#CD7FCB#CD7FCB

#CD7FCB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.137 H 327.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CD7FCB
RGBrgb(205, 127, 203)
HSLhsl(302, 44%, 65%)
HSVhsv(302, 38%, 80%)
CMYKcmyk(0%, 38%, 1%, 19.6%)
CIE-LABlab(63.73, 41.78, -26.92)
CIE-LCHlch(63.73, 49.71, 327.21°)
OKLaboklab(70.42% 0.1163 -0.0732)
OKLCHoklch(70.42% 0.137 327.8)
XYZxyz(43.5449, 32.4716, 60.4623)
Luminance0.3247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FCB #7FCD81
analogous
#A87FCD #CD7FCB #CD7FA4
triadic
#CD7FCB #CBCD7F #7FCBCD
tetradic
#CD7FCB #CDA87F #7FCD81 #7FA4CD
square
#CD7FCB #CDA87F #7FCD81 #7FA4CD
split-complementary
#CD7FCB #A4CD7F #7FCDA8
monochromatic
#973B94 #BC53B9 #CD7FCB #DEABDD #EFD7EF

Accessibility & contrast

On white

2.80
#CD7FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CD7FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FCB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FCB#FFFFFF#000000##000000
##CD7FCB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#D2869C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fcb;
/* rgb */ color: rgb(205, 127, 203);
/* oklch */ color: oklch(70.4% 0.137 327.8);
Tailwind
colors: {
  custom: {
    50: '#dda6db',
    500: '#cd7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fcb;
$custom-light: #dda6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fcb",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 301.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.13747,
    "h": 327.8
  },
  "luminance": 0.3247
}

Semantic roles & 50–950 ramp

primary
#CD7FCB
secondary
#C7E1C7
accent
#B7322F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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