#D772F5#D772F5

#D772F5 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.6% C 0.206 H 318.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D772F5
RGBrgb(215, 114, 245)
HSLhsl(286, 87%, 70%)
HSVhsv(286, 53%, 96%)
CMYKcmyk(12.2%, 53.5%, 0%, 3.9%)
CIE-LABlab(64.22, 59.24, -49.45)
CIE-LCHlch(64.22, 77.16, 320.15°)
OKLaboklab(71.65% 0.1527 -0.1376)
OKLCHoklch(71.65% 0.206 318)
XYZxyz(50.5208, 33.0761, 90.0916)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772F5 #90F572
analogous
#9672F5 #D772F5 #F572D1
triadic
#D772F5 #F5D772 #72F5D7
tetradic
#D772F5 #F59672 #90F572 #72D1F5
square
#D772F5 #F59672 #90F572 #72D1F5
split-complementary
#D772F5 #D1F572 #72F596
monochromatic
#AE10DD #C739F1 #D772F5 #E7ABF9 #F7E2FD

Accessibility & contrast

On white

2.76
#D772F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D772F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772F5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772F5#FFFFFF#000000##000000
##D772F51.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#789FF2
Tritanopia (blue-blind)
#D786A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d772f5;
/* rgb */ color: rgb(215, 114, 245);
/* oklch */ color: oklch(71.6% 0.206 318.0);
Tailwind
colors: {
  custom: {
    50: '#e69ef9',
    500: '#d772f5',
    950: '#000000',
  },
}
SCSS
$custom: #d772f5;
$custom-light: #e69ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d772f5",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 286.26,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.20556,
    "h": 318
  },
  "luminance": 0.33074
}

Semantic roles & 50–950 ramp

primary
#D772F5
secondary
#D8F3CF
accent
#E30236
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772F5

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

Preview Lab → · Contrast checker → · Palette generator →

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