#D481CB#D481CB

#D481CB is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.5% C 0.139 H 330.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D481CB
RGBrgb(212, 129, 203)
HSLhsl(307, 49%, 67%)
HSVhsv(307, 39%, 83%)
CMYKcmyk(0%, 39.2%, 4.2%, 16.9%)
CIE-LABlab(64.97, 42.92, -24.94)
CIE-LCHlch(64.97, 49.64, 329.84°)
OKLaboklab(71.53% 0.1214 -0.0676)
OKLCHoklch(71.53% 0.139 330.9)
XYZxyz(45.7806, 34.0116, 60.6418)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D481CB #81D48A
analogous
#B481D4 #D481CB #D481A2
triadic
#D481CB #CBD481 #81CBD4
tetradic
#D481CB #D4B481 #81D48A #81A2D4
square
#D481CB #D4B481 #81D48A #81A2D4
split-complementary
#D481CB #A2D481 #81D4B4
monochromatic
#A33897 #C453B8 #D481CB #E4AFDE #F3DCF1

Accessibility & contrast

On white

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

On black

7.80
#D481CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D481CB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D481CB#FFFFFF#000000##000000
##D481CB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CE
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#DA879D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d481cb;
/* rgb */ color: rgb(212, 129, 203);
/* oklch */ color: oklch(71.5% 0.139 330.9);
Tailwind
colors: {
  custom: {
    50: '#e2a7db',
    500: '#d481cb',
    950: '#000000',
  },
}
SCSS
$custom: #d481cb;
$custom-light: #e2a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d481cb",
  "rgb": {
    "r": 212,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 306.506,
    "s": 49.112,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.13889,
    "h": 330.9
  },
  "luminance": 0.34009
}

Semantic roles & 50–950 ramp

primary
#D481CB
secondary
#CBE6CE
accent
#BC3929
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D481CB

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

Preview Lab → · Contrast checker → · Palette generator →

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