#D775F2#D775F2

#D775F2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.198 H 318.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D775F2
RGBrgb(215, 117, 242)
HSLhsl(287, 83%, 70%)
HSVhsv(287, 52%, 95%)
CMYKcmyk(11.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(64.63, 57.19, -47.15)
CIE-LCHlch(64.63, 74.12, 320.50°)
OKLaboklab(71.9% 0.1485 -0.1309)
OKLCHoklch(71.9% 0.198 318.6)
XYZxyz(50.4105, 33.5823, 87.8138)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D775F2 #90F275
analogous
#9875F2 #D775F2 #F275CE
triadic
#D775F2 #F2D775 #75F2D7
tetradic
#D775F2 #F29875 #90F275 #75CEF2
square
#D775F2 #F29875 #90F275 #75CEF2
split-complementary
#D775F2 #CEF275 #75F298
monochromatic
#AE14D8 #C73DED #D775F2 #E7ADF7 #F7E3FC

Accessibility & contrast

On white

2.72
#D775F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D775F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D775F2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D775F2#FFFFFF#000000##000000
##D775F21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#D787A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d775f2;
/* rgb */ color: rgb(215, 117, 242);
/* oklch */ color: oklch(71.9% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#e6a0f7',
    500: '#d775f2',
    950: '#000000',
  },
}
SCSS
$custom: #d775f2;
$custom-light: #e6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d775f2",
  "rgb": {
    "r": 215,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 287.04,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.19802,
    "h": 318.6
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#D775F2
secondary
#D8F3D0
accent
#DF0635
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D775F2

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

Preview Lab → · Contrast checker → · Palette generator →

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