#CD7BF5#CD7BF5

#CD7BF5 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.187 H 313.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF5
RGBrgb(205, 123, 245)
HSLhsl(280, 86%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.3%, 49.8%, 0%, 3.9%)
CIE-LABlab(64.75, 52.12, -48.68)
CIE-LCHlch(64.75, 71.32, 316.95°)
OKLaboklab(71.78% 0.1292 -0.1357)
OKLCHoklch(71.78% 0.187 313.6)
XYZxyz(48.7385, 33.7388, 90.3133)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF5 #A3F57B
analogous
#907BF5 #CD7BF5 #F57BE0
triadic
#CD7BF5 #F5CD7B #7BF5CD
tetradic
#CD7BF5 #F5907B #A3F57B #7BE0F5
square
#CD7BF5 #F5907B #A3F57B #7BE0F5
split-complementary
#CD7BF5 #E0F57B #7BF590
monochromatic
#9F11E4 #B742F1 #CD7BF5 #E3B4F9 #F4E3FD

Accessibility & contrast

On white

2.71
#CD7BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CD7BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF5#FFFFFF#000000##000000
##CD7BF51.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#789FF2
Tritanopia (blue-blind)
#CA8EAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf5;
/* rgb */ color: rgb(205, 123, 245);
/* oklch */ color: oklch(71.8% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#dea3f9',
    500: '#cd7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf5;
$custom-light: #dea3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf5",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 280.328,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.18737,
    "h": 313.6
  },
  "luminance": 0.33738
}

Semantic roles & 50–950 ramp

primary
#CD7BF5
secondary
#E0F5D6
accent
#E2034C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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