#D77EFA#D77EFA

#D77EFA is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.192 H 315.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#D77EFA
RGBrgb(215, 126, 250)
HSLhsl(283, 93%, 74%)
HSVhsv(283, 50%, 98%)
CMYKcmyk(14%, 49.6%, 0%, 2%)
CIE-LABlab(66.73, 54.28, -48.24)
CIE-LCHlch(66.73, 72.62, 318.37°)
OKLaboklab(73.57% 0.1375 -0.1342)
OKLCHoklch(73.57% 0.192 315.7)
XYZxyz(52.7379, 36.2725, 94.6471)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77EFA #A1FA7E
analogous
#997EFA #D77EFA #FA7EDF
triadic
#D77EFA #FAD77E #7EFAD7
tetradic
#D77EFA #FA997E #A1FA7E #7EDFFA
square
#D77EFA #FA997E #A1FA7E #7EDFFA
split-complementary
#D77EFA #DFFA7E #7EFA99
monochromatic
#B209F4 #C543F8 #D77EFA #E9B9FC #F6E2FE

Accessibility & contrast

On white

2.54
#D77EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#D77EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77EFA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77EFA#FFFFFF#000000##000000
##D77EFA1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#D591B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77efa;
/* rgb */ color: rgb(215, 126, 250);
/* oklch */ color: oklch(73.6% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6fc',
    500: '#d77efa',
    950: '#000000',
  },
}
SCSS
$custom: #d77efa;
$custom-light: #e6a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d77efa",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 283.065,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.19211,
    "h": 315.7
  },
  "luminance": 0.36271
}

Semantic roles & 50–950 ramp

primary
#D77EFA
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D77EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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