#CD7EF4#CD7EF4

#CD7EF4 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.182 H 313.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF4
RGBrgb(205, 126, 244)
HSLhsl(280, 84%, 73%)
HSVhsv(280, 48%, 96%)
CMYKcmyk(16%, 48.4%, 0%, 4.3%)
CIE-LABlab(65.31, 50.37, -47.26)
CIE-LCHlch(65.31, 69.07, 316.82°)
OKLaboklab(72.18% 0.1251 -0.1316)
OKLCHoklch(72.18% 0.182 313.6)
XYZxyz(48.9641, 34.4337, 89.6374)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF4 #A5F47E
analogous
#927EF4 #CD7EF4 #F47EE0
triadic
#CD7EF4 #F4CD7E #7EF4CD
tetradic
#CD7EF4 #F4927E #A5F47E #7EE0F4
square
#CD7EF4 #F4927E #A5F47E #7EE0F4
split-complementary
#CD7EF4 #E0F47E #7EF492
monochromatic
#9F13E4 #B746EF #CD7EF4 #E3B6F9 #F4E3FD

Accessibility & contrast

On white

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

On black

7.89
#CD7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF4#FFFFFF#000000##000000
##CD7EF41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#CA90AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ef4;
/* rgb */ color: rgb(205, 126, 244);
/* oklch */ color: oklch(72.2% 0.182 313.6);
Tailwind
colors: {
  custom: {
    50: '#dea5f8',
    500: '#cd7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef4;
$custom-light: #dea5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef4",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 280.169,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72177,
    "c": 0.18154,
    "h": 313.6
  },
  "luminance": 0.34432
}

Semantic roles & 50–950 ramp

primary
#CD7EF4
secondary
#E0F5D6
accent
#E1054D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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