#CD7EF1#CD7EF1

#CD7EF1 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.178 H 314.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF1
RGBrgb(205, 126, 241)
HSLhsl(281, 80%, 72%)
HSVhsv(281, 48%, 95%)
CMYKcmyk(14.9%, 47.7%, 0%, 5.5%)
CIE-LABlab(65.16, 49.74, -45.84)
CIE-LCHlch(65.16, 67.64, 317.34°)
OKLaboklab(72.02% 0.1247 -0.1274)
OKLCHoklch(72.02% 0.178 314.4)
XYZxyz(48.5123, 34.2530, 87.2580)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF1 #A2F17E
analogous
#937EF1 #CD7EF1 #F17EDC
triadic
#CD7EF1 #F1CD7E #7EF1CD
tetradic
#CD7EF1 #F1937E #A2F17E #7EDCF1
square
#CD7EF1 #F1937E #A2F17E #7EDCF1
split-complementary
#CD7EF1 #DCF17E #7EF193
monochromatic
#9F18DD #B847EB #CD7EF1 #E2B5F7 #F4E3FC

Accessibility & contrast

On white

2.68
#CD7EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CD7EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF1#FFFFFF#000000##000000
##CD7EF11.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#CA8FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7ef1;
/* rgb */ color: rgb(205, 126, 241);
/* oklch */ color: oklch(72.0% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#dea5f6',
    500: '#cd7ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef1;
$custom-light: #dea5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef1",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 281.217,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.17831,
    "h": 314.4
  },
  "luminance": 0.34252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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