#CD7FF1#CD7FF1

#CD7FF1 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.177 H 314.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CD7FF1
RGBrgb(205, 127, 241)
HSLhsl(281, 80%, 72%)
HSVhsv(281, 47%, 95%)
CMYKcmyk(14.9%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.37, 49.22, -45.52)
CIE-LCHlch(65.37, 67.04, 317.24°)
OKLaboklab(72.18% 0.1234 -0.1265)
OKLCHoklch(72.18% 0.177 314.3)
XYZxyz(48.6408, 34.5100, 87.3008)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF1 #A3F17F
analogous
#947FF1 #CD7FF1 #F17FDC
triadic
#CD7FF1 #F1CD7F #7FF1CD
tetradic
#CD7FF1 #F1947F #A3F17F #7FDCF1
square
#CD7FF1 #F1947F #A3F17F #7FDCF1
split-complementary
#CD7FF1 #DCF17F #7FF194
monochromatic
#9F18DD #B748EB #CD7FF1 #E3B6F7 #F4E3FC

Accessibility & contrast

On white

2.66
#CD7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CD7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FF1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FF1#FFFFFF#000000##000000
##CD7FF11.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#CA90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff1;
/* rgb */ color: rgb(205, 127, 241);
/* oklch */ color: oklch(72.2% 0.177 314.3);
Tailwind
colors: {
  custom: {
    50: '#dea6f6',
    500: '#cd7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff1;
$custom-light: #dea6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff1",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 281.053,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72175,
    "c": 0.1767,
    "h": 314.3
  },
  "luminance": 0.34509
}

Semantic roles & 50–950 ramp

primary
#CD7FF1
secondary
#E0F4D7
accent
#DD094C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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