#D277FA#D277FA

#D277FA is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.0% C 0.201 H 314.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D277FA
RGBrgb(210, 119, 250)
HSLhsl(282, 93%, 72%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(16%, 52.4%, 0%, 2%)
CIE-LABlab(64.80, 56.49, -51.32)
CIE-LCHlch(64.80, 76.32, 317.74°)
OKLaboklab(72.03% 0.1409 -0.1432)
OKLCHoklch(72.03% 0.201 314.5)
XYZxyz(50.4277, 33.7988, 94.2914)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277FA #9FFA77
analogous
#9077FA #D277FA #FA77E1
triadic
#D277FA #FAD277 #77FAD2
tetradic
#D277FA #FA9077 #9FFA77 #77E1FA
square
#D277FA #FA9077 #9FFA77 #77E1FA
split-complementary
#D277FA #E1FA77 #77FA90
monochromatic
#A809EE #BE3CF8 #D277FA #E6B2FC #F5E1FE

Accessibility & contrast

On white

2.71
#D277FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D277FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277FA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277FA#FFFFFF#000000##000000
##D277FA1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#CF8CAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d277fa;
/* rgb */ color: rgb(210, 119, 250);
/* oklch */ color: oklch(72.0% 0.201 314.5);
Tailwind
colors: {
  custom: {
    50: '#e2a1fc',
    500: '#d277fa',
    950: '#000000',
  },
}
SCSS
$custom: #d277fa;
$custom-light: #e2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d277fa",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 281.679,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72026,
    "c": 0.20085,
    "h": 314.5
  },
  "luminance": 0.33797
}

Semantic roles & 50–950 ramp

primary
#D277FA
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277FA

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

Preview Lab → · Contrast checker → · Palette generator →

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