#D772FC#D772FC

#D772FC is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.0% C 0.212 H 316.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D772FC
RGBrgb(215, 114, 252)
HSLhsl(284, 96%, 72%)
HSVhsv(284, 55%, 99%)
CMYKcmyk(14.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(64.57, 60.62, -52.74)
CIE-LCHlch(64.57, 80.35, 318.97°)
OKLaboklab(72.02% 0.1532 -0.1472)
OKLCHoklch(72.02% 0.212 316.2)
XYZxyz(51.6097, 33.5117, 95.8264)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772FC #97FC72
analogous
#9272FC #D772FC #FC72DC
triadic
#D772FC #FCD772 #72FCD7
tetradic
#D772FC #FC9272 #97FC72 #72DCFC
square
#D772FC #FC9272 #97FC72 #72DCFC
split-complementary
#D772FC #DCFC72 #72FC92
monochromatic
#B005EF #C636FB #D772FC #E8AEFD #F6E1FE

Accessibility & contrast

On white

2.73
#D772FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D772FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772FC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772FC#FFFFFF#000000##000000
##D772FC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#73A0F8
Tritanopia (blue-blind)
#D588AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d772fc;
/* rgb */ color: rgb(215, 114, 252);
/* oklch */ color: oklch(72.0% 0.212 316.2);
Tailwind
colors: {
  custom: {
    50: '#e69efe',
    500: '#d772fc',
    950: '#000000',
  },
}
SCSS
$custom: #d772fc;
$custom-light: #e69efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d772fc",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 283.913,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.21247,
    "h": 316.2
  },
  "luminance": 0.3351
}

Semantic roles & 50–950 ramp

primary
#D772FC
secondary
#DDF6D3
accent
#E6003E
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D772FC

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

Preview Lab → · Contrast checker → · Palette generator →

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