#D277FC#D277FC

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

Color values

HEX#D277FC
RGBrgb(210, 119, 252)
HSLhsl(281, 96%, 73%)
HSVhsv(281, 53%, 99%)
CMYKcmyk(16.7%, 52.8%, 0%, 1.2%)
CIE-LABlab(64.90, 56.90, -52.26)
CIE-LCHlch(64.90, 77.25, 317.43°)
OKLaboklab(72.13% 0.141 -0.1459)
OKLCHoklch(72.13% 0.203 314)
XYZxyz(50.7430, 33.9249, 95.9517)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277FC #A1FC77
analogous
#9077FC #D277FC #FC77E3
triadic
#D277FC #FCD277 #77FCD2
tetradic
#D277FC #FC9077 #A1FC77 #77E3FC
square
#D277FC #FC9077 #A1FC77 #77E3FC
split-complementary
#D277FC #E3FC77 #77FC90
monochromatic
#A805F3 #BE3BFB #D277FC #E6B3FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.78
#D277FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277FC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277FC#FFFFFF#000000##000000
##D277FC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#CF8DAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d277fc;
/* rgb */ color: rgb(210, 119, 252);
/* oklch */ color: oklch(72.1% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2a1fe',
    500: '#d277fc',
    950: '#000000',
  },
}
SCSS
$custom: #d277fc;
$custom-light: #e2a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d277fc",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 281.053,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72132,
    "c": 0.20292,
    "h": 314
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D277FC

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

Preview Lab → · Contrast checker → · Palette generator →

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