#D577F2#D577F2

#D577F2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.194 H 317.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D577F2
RGBrgb(213, 119, 242)
HSLhsl(286, 83%, 71%)
HSVhsv(286, 51%, 95%)
CMYKcmyk(12%, 50.8%, 0%, 5.1%)
CIE-LABlab(64.77, 55.67, -46.95)
CIE-LCHlch(64.77, 72.82, 319.86°)
OKLaboklab(71.95% 0.1436 -0.1304)
OKLCHoklch(71.95% 0.194 317.7)
XYZxyz(50.0622, 33.7523, 87.8649)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D577F2 #94F277
analogous
#9777F2 #D577F2 #F277D1
triadic
#D577F2 #F2D577 #77F2D5
tetradic
#D577F2 #F29777 #94F277 #77D1F2
square
#D577F2 #F29777 #94F277 #77D1F2
split-complementary
#D577F2 #D1F277 #77F297
monochromatic
#AB15DA #C43FED #D577F2 #E6AFF7 #F6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D577F2#FFFFFF#000000##000000
##D577F21.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)
#5F97F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#D589AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d577f2;
/* rgb */ color: rgb(213, 119, 242);
/* oklch */ color: oklch(71.9% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#e4a1f7',
    500: '#d577f2',
    950: '#000000',
  },
}
SCSS
$custom: #d577f2;
$custom-light: #e4a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d577f2",
  "rgb": {
    "r": 213,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 285.854,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71948,
    "c": 0.19398,
    "h": 317.7
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

primary
#D577F2
secondary
#DAF3D2
accent
#DF073A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D577F2

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

Preview Lab → · Contrast checker → · Palette generator →

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