#D277FE#D277FE

#D277FE is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.2% C 0.205 H 313.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D277FE
RGBrgb(210, 119, 254)
HSLhsl(280, 99%, 73%)
HSVhsv(280, 53%, 100%)
CMYKcmyk(17.3%, 53.1%, 0%, 0.4%)
CIE-LABlab(65.00, 57.31, -53.20)
CIE-LCHlch(65.00, 78.19, 317.13°)
OKLaboklab(72.24% 0.1412 -0.1486)
OKLCHoklch(72.24% 0.205 313.5)
XYZxyz(51.0616, 34.0524, 97.6297)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277FE #A3FE77
analogous
#8E77FE #D277FE #FE77E7
triadic
#D277FE #FED277 #77FED2
tetradic
#D277FE #FE8E77 #A3FE77 #77E7FE
square
#D277FE #FE8E77 #A3FE77 #77E7FE
split-complementary
#D277FE #E7FE77 #77FE8E
monochromatic
#A802F9 #BE3AFE #D277FE #E6B4FE #F5E1FF

Accessibility & contrast

On white

2.69
#D277FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D277FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277FE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277FE#FFFFFF#000000##000000
##D277FE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#CE8DB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d277fe;
/* rgb */ color: rgb(210, 119, 254);
/* oklch */ color: oklch(72.2% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#e2a1ff',
    500: '#d277fe',
    950: '#000000',
  },
}
SCSS
$custom: #d277fe;
$custom-light: #e2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d277fe",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 280.444,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72239,
    "c": 0.205,
    "h": 313.5
  },
  "luminance": 0.34051
}

Semantic roles & 50–950 ramp

primary
#D277FE
secondary
#DFF7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D277FE

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

Preview Lab → · Contrast checker → · Palette generator →

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