#D774F0#D774F0

#D774F0 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.7% C 0.198 H 319.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D774F0
RGBrgb(215, 116, 240)
HSLhsl(288, 81%, 70%)
HSVhsv(288, 52%, 94%)
CMYKcmyk(10.4%, 51.7%, 0%, 5.9%)
CIE-LABlab(64.35, 57.29, -46.49)
CIE-LCHlch(64.35, 73.78, 320.94°)
OKLaboklab(71.66% 0.1497 -0.129)
OKLCHoklch(71.66% 0.198 319.2)
XYZxyz(49.9959, 33.2311, 86.2019)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D774F0 #8DF074
analogous
#9974F0 #D774F0 #F074CB
triadic
#D774F0 #F0D774 #74F0D7
tetradic
#D774F0 #F09974 #8DF074 #74CBF0
square
#D774F0 #F09974 #8DF074 #74CBF0
split-complementary
#D774F0 #CBF074 #74F099
monochromatic
#AD17D3 #C73DEA #D774F0 #E7ABF6 #F7E2FC

Accessibility & contrast

On white

2.75
#D774F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D774F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D774F0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D774F0#FFFFFF#000000##000000
##D774F01.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F4
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#D886A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d774f0;
/* rgb */ color: rgb(215, 116, 240);
/* oklch */ color: oklch(71.7% 0.198 319.2);
Tailwind
colors: {
  custom: {
    50: '#e69ff5',
    500: '#d774f0',
    950: '#000000',
  },
}
SCSS
$custom: #d774f0;
$custom-light: #e69ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d774f0",
  "rgb": {
    "r": 215,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 287.903,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.1976,
    "h": 319.2
  },
  "luminance": 0.33229
}

Semantic roles & 50–950 ramp

primary
#D774F0
secondary
#D5F1CE
accent
#DD0933
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D774F0

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

Preview Lab → · Contrast checker → · Palette generator →

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