#CD7BF2#CD7BF2

#CD7BF2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.184 H 314.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CD7BF2
RGBrgb(205, 123, 242)
HSLhsl(281, 82%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.3%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.61, 51.50, -47.26)
CIE-LCHlch(64.61, 69.90, 317.46°)
OKLaboklab(71.63% 0.1289 -0.1315)
OKLCHoklch(71.63% 0.184 314.4)
XYZxyz(48.2842, 33.5571, 87.9209)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BF2 #A0F27B
analogous
#927BF2 #CD7BF2 #F27BDB
triadic
#CD7BF2 #F2CD7B #7BF2CD
tetradic
#CD7BF2 #F2927B #A0F27B #7BDBF2
square
#CD7BF2 #F2927B #A0F27B #7BDBF2
split-complementary
#CD7BF2 #DBF27B #7BF292
monochromatic
#9F16DD #B843ED #CD7BF2 #E2B3F7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.71
#CD7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BF2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BF2#FFFFFF#000000##000000
##CD7BF21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#CA8DAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7bf2;
/* rgb */ color: rgb(205, 123, 242);
/* oklch */ color: oklch(71.6% 0.184 314.4);
Tailwind
colors: {
  custom: {
    50: '#dea3f7',
    500: '#cd7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bf2;
$custom-light: #dea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bf2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 281.345,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.18417,
    "h": 314.4
  },
  "luminance": 0.33556
}

Semantic roles & 50–950 ramp

primary
#CD7BF2
secondary
#DFF4D5
accent
#DE074A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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