#CD7BDF#CD7BDF

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

Color values

HEX#CD7BDF
RGBrgb(205, 123, 223)
HSLhsl(289, 61%, 68%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.1%, 44.8%, 0%, 12.5%)
CIE-LABlab(63.73, 47.68, -38.10)
CIE-LCHlch(63.73, 61.04, 321.37°)
OKLaboklab(70.69% 0.1262 -0.1051)
OKLCHoklch(70.69% 0.164 320.2)
XYZxyz(45.5774, 32.4744, 73.6651)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDF #8DDF7B
analogous
#9B7BDF #CD7BDF #DF7BBF
triadic
#CD7BDF #DFCD7B #7BDFCD
tetradic
#CD7BDF #DF9B7B #8DDF7B #7BBFDF
square
#CD7BDF #DF9B7B #8DDF7B #7BBFDF
split-complementary
#CD7BDF #BFDF7B #7BDF9B
monochromatic
#9B2CB4 #BA4AD3 #CD7BDF #E0ACEB #F2DEF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7BDF#FFFFFF#000000##000000
##CD7BDF1.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)
#6C95E3
Deuteranopia (green-blind)
#839DDC
Tritanopia (blue-blind)
#CE88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bdf;
/* rgb */ color: rgb(205, 123, 223);
/* oklch */ color: oklch(70.7% 0.164 320.2);
Tailwind
colors: {
  custom: {
    50: '#dea3e9',
    500: '#cd7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bdf;
$custom-light: #dea3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bdf",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 289.2,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70691,
    "c": 0.16423,
    "h": 320.2
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

primary
#CD7BDF
secondary
#D1EACB
accent
#C91D3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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