#CD7BF4#CD7BF4

#CD7BF4 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.186 H 313.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF4
RGBrgb(205, 123, 244)
HSLhsl(281, 85%, 72%)
HSVhsv(281, 50%, 96%)
CMYKcmyk(16%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.71, 51.92, -48.21)
CIE-LCHlch(64.71, 70.85, 317.12°)
OKLaboklab(71.73% 0.1291 -0.1343)
OKLCHoklch(71.73% 0.186 313.9)
XYZxyz(48.5862, 33.6779, 89.5115)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF4 #A2F47B
analogous
#917BF4 #CD7BF4 #F47BDF
triadic
#CD7BF4 #F4CD7B #7BF4CD
tetradic
#CD7BF4 #F4917B #A2F47B #7BDFF4
square
#CD7BF4 #F4917B #A2F47B #7BDFF4
split-complementary
#CD7BF4 #DFF47B #7BF491
monochromatic
#9F13E2 #B843EF #CD7BF4 #E2B3F9 #F4E3FD

Accessibility & contrast

On white

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

On black

7.74
#CD7BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF4#FFFFFF#000000##000000
##CD7BF41.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#CA8EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf4;
/* rgb */ color: rgb(205, 123, 244);
/* oklch */ color: oklch(71.7% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#dea3f8',
    500: '#cd7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf4;
$custom-light: #dea3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf4",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 280.661,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.18629,
    "h": 313.9
  },
  "luminance": 0.33677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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