#D277DB#D277DB

#D277DB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.170 H 323.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D277DB
RGBrgb(210, 119, 219)
HSLhsl(295, 58%, 66%)
HSVhsv(295, 46%, 86%)
CMYKcmyk(4.1%, 45.7%, 0%, 14.1%)
CIE-LABlab(63.35, 50.41, -36.42)
CIE-LCHlch(63.35, 62.19, 324.15°)
OKLaboklab(70.48% 0.1369 -0.1001)
OKLCHoklch(70.48% 0.17 323.8)
XYZxyz(45.9601, 32.0118, 70.7621)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277DB #80DB77
analogous
#A077DB #D277DB #DB77B2
triadic
#D277DB #DBD277 #77DBD2
tetradic
#D277DB #DBA077 #80DB77 #77B2DB
square
#D277DB #DBA077 #80DB77 #77B2DB
split-complementary
#D277DB #B2DB77 #77DBA0
monochromatic
#9F2DAA #C247CE #D277DB #E2A7E8 #F2D8F5

Accessibility & contrast

On white

2.84
#D277DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D277DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277DB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277DB#FFFFFF#000000##000000
##D277DB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DE
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#D5839F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d277db;
/* rgb */ color: rgb(210, 119, 219);
/* oklch */ color: oklch(70.5% 0.170 323.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1e6',
    500: '#d277db',
    950: '#000000',
  },
}
SCSS
$custom: #d277db;
$custom-light: #e2a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d277db",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 294.6,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.16964,
    "h": 323.8
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

primary
#D277DB
secondary
#CAE7C7
accent
#C6202F
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D277DB

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

Preview Lab → · Contrast checker → · Palette generator →

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