#D277F3#D277F3

#D277F3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.194 H 316.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D277F3
RGBrgb(210, 119, 243)
HSLhsl(284, 84%, 71%)
HSVhsv(284, 51%, 95%)
CMYKcmyk(13.6%, 51%, 0%, 4.7%)
CIE-LABlab(64.46, 55.07, -48.01)
CIE-LCHlch(64.46, 73.06, 318.92°)
OKLaboklab(71.66% 0.1402 -0.1336)
OKLCHoklch(71.66% 0.194 316.4)
XYZxyz(49.3504, 33.3679, 88.6177)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277F3 #98F377
analogous
#9477F3 #D277F3 #F377D6
triadic
#D277F3 #F3D277 #77F3D2
tetradic
#D277F3 #F39477 #98F377 #77D6F3
square
#D277F3 #F39477 #98F377 #77D6F3
split-complementary
#D277F3 #D6F377 #77F394
monochromatic
#A713DC #BF3FEE #D277F3 #E5AFF8 #F6E3FD

Accessibility & contrast

On white

2.74
#D277F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D277F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277F3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277F3#FFFFFF#000000##000000
##D277F31.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#D18AAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d277f3;
/* rgb */ color: rgb(210, 119, 243);
/* oklch */ color: oklch(71.7% 0.194 316.4);
Tailwind
colors: {
  custom: {
    50: '#e2a1f7',
    500: '#d277f3',
    950: '#000000',
  },
}
SCSS
$custom: #d277f3;
$custom-light: #e2a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d277f3",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 284.032,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.19365,
    "h": 316.4
  },
  "luminance": 0.33366
}

Semantic roles & 50–950 ramp

primary
#D277F3
secondary
#DBF3D2
accent
#E00540
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D277F3

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

Preview Lab → · Contrast checker → · Palette generator →

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