#CD7BF1#CD7BF1

#CD7BF1 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.183 H 314.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF1
RGBrgb(205, 123, 241)
HSLhsl(282, 81%, 71%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.9%, 49%, 0%, 5.5%)
CIE-LABlab(64.56, 51.30, -46.78)
CIE-LCHlch(64.56, 69.43, 317.63°)
OKLaboklab(71.58% 0.1288 -0.1302)
OKLCHoklch(71.58% 0.183 314.7)
XYZxyz(48.1345, 33.4972, 87.1320)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF1 #9FF17B
analogous
#927BF1 #CD7BF1 #F17BDA
triadic
#CD7BF1 #F1CD7B #7BF1CD
tetradic
#CD7BF1 #F1927B #9FF17B #7BDAF1
square
#CD7BF1 #F1927B #9FF17B #7BDAF1
split-complementary
#CD7BF1 #DAF17B #7BF192
monochromatic
#9F17DA #B844EB #CD7BF1 #E2B2F7 #F5E3FC

Accessibility & contrast

On white

2.73
#CD7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF1#FFFFFF#000000##000000
##CD7BF11.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#CB8DAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf1;
/* rgb */ color: rgb(205, 123, 241);
/* oklch */ color: oklch(71.6% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#dea3f6',
    500: '#cd7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf1;
$custom-light: #dea3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf1",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 281.695,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71578,
    "c": 0.1831,
    "h": 314.7
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#CD7BF1
secondary
#DEF3D5
accent
#DD0849
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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