#CD7BF6#CD7BF6

#CD7BF6 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.188 H 313.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF6
RGBrgb(205, 123, 246)
HSLhsl(280, 87%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.7%, 50%, 0%, 3.5%)
CIE-LABlab(64.80, 52.33, -49.16)
CIE-LCHlch(64.80, 71.80, 316.79°)
OKLaboklab(71.84% 0.1293 -0.137)
OKLCHoklch(71.84% 0.188 313.3)
XYZxyz(48.8916, 33.8001, 91.1195)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF6 #A4F67B
analogous
#907BF6 #CD7BF6 #F67BE2
triadic
#CD7BF6 #F6CD7B #7BF6CD
tetradic
#CD7BF6 #F6907B #A4F67B #7BE2F6
square
#CD7BF6 #F6907B #A4F67B #7BE2F6
split-complementary
#CD7BF6 #E2F67B #7BF690
monochromatic
#9F10E7 #B742F2 #CD7BF6 #E3B4FA #F4E2FD

Accessibility & contrast

On white

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

On black

7.76
#CD7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF6#FFFFFF#000000##000000
##CD7BF61.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C98EAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf6;
/* rgb */ color: rgb(205, 123, 246);
/* oklch */ color: oklch(71.8% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#dfa4f9',
    500: '#cd7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf6;
$custom-light: #dfa4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf6",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 280,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.18844,
    "h": 313.3
  },
  "luminance": 0.33799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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