#CD7BCF#CD7BCF

#CD7BCF is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.148 H 326.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD7BCF
RGBrgb(205, 123, 207)
HSLhsl(299, 47%, 65%)
HSVhsv(299, 41%, 81%)
CMYKcmyk(1%, 40.6%, 0%, 18.8%)
CIE-LABlab(63.05, 44.63, -30.21)
CIE-LCHlch(63.05, 53.90, 325.90°)
OKLaboklab(69.96% 0.1232 -0.0825)
OKLCHoklch(69.96% 0.148 326.2)
XYZxyz(43.5214, 31.6520, 62.8364)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BCF #7DCF7B
analogous
#A37BCF #CD7BCF #CF7BA7
triadic
#CD7BCF #CFCD7B #7BCFCD
tetradic
#CD7BCF #CFA37B #7DCF7B #7BA7CF
square
#CD7BCF #CFA37B #7DCF7B #7BA7CF
split-complementary
#CD7BCF #A7CF7B #7BCFA3
monochromatic
#963798 #BC4EBF #CD7BCF #DEA8DF #EFD5F0

Accessibility & contrast

On white

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

On black

7.33
#CD7BCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BCF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BCF#FFFFFF#000000##000000
##CD7BCF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#8A9CCC
Tritanopia (blue-blind)
#D1839B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bcf;
/* rgb */ color: rgb(205, 123, 207);
/* oklch */ color: oklch(70.0% 0.148 326.2);
Tailwind
colors: {
  custom: {
    50: '#dea3de',
    500: '#cd7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bcf;
$custom-light: #dea3de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bcf",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 298.571,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.14825,
    "h": 326.2
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#CD7BCF
secondary
#C5E1C4
accent
#BA2C2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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