#CD7BF3#CD7BF3

#CD7BF3 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.185 H 314.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF3
RGBrgb(205, 123, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.6%, 49.4%, 0%, 4.7%)
CIE-LABlab(64.66, 51.71, -47.73)
CIE-LCHlch(64.66, 70.37, 317.29°)
OKLaboklab(71.68% 0.129 -0.1329)
OKLCHoklch(71.68% 0.185 314.1)
XYZxyz(48.4348, 33.6174, 88.7140)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF3 #A1F37B
analogous
#917BF3 #CD7BF3 #F37BDD
triadic
#CD7BF3 #F3CD7B #7BF3CD
tetradic
#CD7BF3 #F3917B #A1F37B #7BDDF3
square
#CD7BF3 #F3917B #A1F37B #7BDDF3
split-complementary
#CD7BF3 #DDF37B #7BF391
monochromatic
#9F14DF #B843EE #CD7BF3 #E2B3F8 #F4E3FC

Accessibility & contrast

On white

2.72
#CD7BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CD7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF3#FFFFFF#000000##000000
##CD7BF31.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#CA8EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf3;
/* rgb */ color: rgb(205, 123, 243);
/* oklch */ color: oklch(71.7% 0.185 314.1);
Tailwind
colors: {
  custom: {
    50: '#dea3f7',
    500: '#cd7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf3;
$custom-light: #dea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf3",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 281,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.18523,
    "h": 314.1
  },
  "luminance": 0.33616
}

Semantic roles & 50–950 ramp

primary
#CD7BF3
secondary
#DFF4D6
accent
#E0064B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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