#D774F2#D774F2

#D774F2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.8% C 0.200 H 318.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D774F2
RGBrgb(215, 116, 242)
HSLhsl(287, 83%, 70%)
HSVhsv(287, 52%, 95%)
CMYKcmyk(11.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(64.44, 57.68, -47.44)
CIE-LCHlch(64.44, 74.68, 320.56°)
OKLaboklab(71.76% 0.1499 -0.1318)
OKLCHoklch(71.76% 0.2 318.7)
XYZxyz(50.2946, 33.3506, 87.7752)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D774F2 #8FF274
analogous
#9874F2 #D774F2 #F274CE
triadic
#D774F2 #F2D774 #74F2D7
tetradic
#D774F2 #F29874 #8FF274 #74CEF2
square
#D774F2 #F29874 #8FF274 #74CEF2
split-complementary
#D774F2 #CEF274 #74F298
monochromatic
#AE14D7 #C73CED #D774F2 #E7ACF7 #F7E3FC

Accessibility & contrast

On white

2.74
#D774F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D774F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D774F2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D774F2#FFFFFF#000000##000000
##D774F21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#D787A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d774f2;
/* rgb */ color: rgb(215, 116, 242);
/* oklch */ color: oklch(71.8% 0.200 318.7);
Tailwind
colors: {
  custom: {
    50: '#e6a0f7',
    500: '#d774f2',
    950: '#000000',
  },
}
SCSS
$custom: #d774f2;
$custom-light: #e6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d774f2",
  "rgb": {
    "r": 215,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 287.143,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71762,
    "c": 0.19956,
    "h": 318.7
  },
  "luminance": 0.33349
}

Semantic roles & 50–950 ramp

primary
#D774F2
secondary
#D7F2CF
accent
#DF0635
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D774F2

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

Preview Lab → · Contrast checker → · Palette generator →

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