#CD7BCD#CD7BCD

#CD7BCD is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.9% C 0.146 H 327.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD7BCD
RGBrgb(205, 123, 205)
HSLhsl(300, 45%, 64%)
HSVhsv(300, 40%, 80%)
CMYKcmyk(0%, 40%, 0%, 19.6%)
CIE-LABlab(62.97, 44.26, -29.21)
CIE-LCHlch(62.97, 53.03, 326.57°)
OKLaboklab(69.87% 0.1227 -0.0797)
OKLCHoklch(69.87% 0.146 327)
XYZxyz(43.2784, 31.5548, 61.5568)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BCD #7BCD7B
analogous
#A47BCD #CD7BCD #CD7BA4
triadic
#CD7BCD #CDCD7B #7BCDCD
tetradic
#CD7BCD #CDA47B #7BCD7B #7BA4CD
square
#CD7BCD #CDA47B #7BCD7B #7BA4CD
split-complementary
#CD7BCD #A4CD7B #7BCDA4
monochromatic
#953895 #BC4FBC #CD7BCD #DEA7DE #EFD4EF

Accessibility & contrast

On white

2.87
#CD7BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD7BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BCD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BCD#FFFFFF#000000##000000
##CD7BCD1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#D2839A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7bcd;
/* rgb */ color: rgb(205, 123, 205);
/* oklch */ color: oklch(69.9% 0.146 327.0);
Tailwind
colors: {
  custom: {
    50: '#dea3dc',
    500: '#cd7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bcd;
$custom-light: #dea3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bcd",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.14632,
    "h": 327
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

primary
#CD7BCD
secondary
#C4E0C4
accent
#B82D2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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