#CD7CF1#CD7CF1

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

Color values

HEX#CD7CF1
RGBrgb(205, 124, 241)
HSLhsl(282, 81%, 72%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.9%, 48.5%, 0%, 5.5%)
CIE-LABlab(64.76, 50.78, -46.47)
CIE-LCHlch(64.76, 68.83, 317.54°)
OKLaboklab(71.73% 0.1274 -0.1292)
OKLCHoklch(71.73% 0.182 314.6)
XYZxyz(48.2591, 33.7466, 87.1736)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF1 #A0F17C
analogous
#937CF1 #CD7CF1 #F17CDB
triadic
#CD7CF1 #F1CD7C #7CF1CD
tetradic
#CD7CF1 #F1937C #A0F17C #7CDBF1
square
#CD7CF1 #F1937C #A0F17C #7CDBF1
split-complementary
#CD7CF1 #DBF17C #7CF193
monochromatic
#9F17DB #B845EB #CD7CF1 #E2B3F7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.75
#CD7CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF1#FFFFFF#000000##000000
##CD7CF11.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#CA8EAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7cf1;
/* rgb */ color: rgb(205, 124, 241);
/* oklch */ color: oklch(71.7% 0.181 314.6);
Tailwind
colors: {
  custom: {
    50: '#dea4f6',
    500: '#cd7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf1;
$custom-light: #dea4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf1",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 281.538,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71726,
    "c": 0.1815,
    "h": 314.6
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

primary
#CD7CF1
secondary
#DFF3D5
accent
#DD084A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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