#D757EC#D757EC

#D757EC is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.9% C 0.235 H 321.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#D757EC
RGBrgb(215, 87, 236)
HSLhsl(292, 80%, 63%)
HSVhsv(292, 63%, 93%)
CMYKcmyk(8.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(59.27, 69.74, -52.30)
CIE-LCHlch(59.27, 87.17, 323.13°)
OKLaboklab(67.89% 0.185 -0.1457)
OKLCHoklch(67.89% 0.235 321.8)
XYZxyz(46.5712, 27.3220, 82.1612)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D757EC #6CEC57
analogous
#8C57EC #D757EC #EC57B6
triadic
#D757EC #ECD757 #57ECD7
tetradic
#D757EC #EC8C57 #6CEC57 #57B6EC
square
#D757EC #EC8C57 #6CEC57 #57B6EC
split-complementary
#D757EC #B6EC57 #57EC8C
monochromatic
#9E14B4 #CA20E6 #D757EC #E48EF2 #F1C5F8

Accessibility & contrast

On white

3.25
#D757EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#D757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D757EC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D757EC#FFFFFF#000000##000000
##D757EC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285F0
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#D96F9A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d757ec;
/* rgb */ color: rgb(215, 87, 236);
/* oklch */ color: oklch(67.9% 0.235 321.8);
Tailwind
colors: {
  custom: {
    50: '#e78ff3',
    500: '#d757ec',
    950: '#000000',
  },
}
SCSS
$custom: #d757ec;
$custom-light: #e78ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d757ec",
  "rgb": {
    "r": 215,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 291.544,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.23547,
    "h": 321.8
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#D757EC
secondary
#BCEAB5
accent
#DC0A27
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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