#D277FB#D277FB

#D277FB is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.1% C 0.202 H 314.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D277FB
RGBrgb(210, 119, 251)
HSLhsl(281, 94%, 73%)
HSVhsv(281, 53%, 98%)
CMYKcmyk(16.3%, 52.6%, 0%, 1.6%)
CIE-LABlab(64.85, 56.69, -51.79)
CIE-LCHlch(64.85, 76.79, 317.59°)
OKLaboklab(72.08% 0.1409 -0.1446)
OKLCHoklch(72.08% 0.202 314.3)
XYZxyz(50.5849, 33.8617, 95.1194)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277FB #A0FB77
analogous
#9077FB #D277FB #FB77E2
triadic
#D277FB #FBD277 #77FBD2
tetradic
#D277FB #FB9077 #A0FB77 #77E2FB
square
#D277FB #FB9077 #A0FB77 #77E2FB
split-complementary
#D277FB #E2FB77 #77FB90
monochromatic
#A807F1 #BE3CF9 #D277FB #E6B2FD #F5E1FE

Accessibility & contrast

On white

2.70
#D277FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D277FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277FB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277FB#FFFFFF#000000##000000
##D277FB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#CF8CAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d277fb;
/* rgb */ color: rgb(210, 119, 251);
/* oklch */ color: oklch(72.1% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#e2a1fd',
    500: '#d277fb',
    950: '#000000',
  },
}
SCSS
$custom: #d277fb;
$custom-light: #e2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d277fb",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 281.364,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.20189,
    "h": 314.3
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

primary
#D277FB
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D277FB

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

Preview Lab → · Contrast checker → · Palette generator →

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