#D773EC#D773EC

#D773EC is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.195 H 320.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D773EC
RGBrgb(215, 115, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.9%, 51.3%, 0%, 7.5%)
CIE-LABlab(63.97, 57.01, -44.87)
CIE-LCHlch(63.97, 72.55, 321.80°)
OKLaboklab(71.32% 0.1505 -0.1243)
OKLCHoklch(71.32% 0.195 320.4)
XYZxyz(49.2936, 32.7667, 83.0687)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D773EC #88EC73
analogous
#9B73EC #D773EC #EC73C5
triadic
#D773EC #ECD773 #73ECD7
tetradic
#D773EC #EC9B73 #88EC73 #73C5EC
square
#D773EC #EC9B73 #88EC73 #73C5EC
split-complementary
#D773EC #C5EC73 #73EC9B
monochromatic
#AB1BC9 #C83DE5 #D773EC #E6A9F3 #F6DFFB

Accessibility & contrast

On white

2.78
#D773EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D773EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D773EC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D773EC#FFFFFF#000000##000000
##D773EC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#D884A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d773ec;
/* rgb */ color: rgb(215, 115, 236);
/* oklch */ color: oklch(71.3% 0.195 320.4);
Tailwind
colors: {
  custom: {
    50: '#e69ff2',
    500: '#d773ec',
    950: '#000000',
  },
}
SCSS
$custom: #d773ec;
$custom-light: #e69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d773ec",
  "rgb": {
    "r": 215,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 289.587,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71321,
    "c": 0.19524,
    "h": 320.4
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#D773EC
secondary
#D2EFCC
accent
#D80D30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D773EC

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

Preview Lab → · Contrast checker → · Palette generator →

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