#D281F7#D281F7

#D281F7 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.182 H 314.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D281F7
RGBrgb(210, 129, 247)
HSLhsl(281, 88%, 74%)
HSVhsv(281, 48%, 97%)
CMYKcmyk(15%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.61, 50.79, -46.82)
CIE-LCHlch(66.61, 69.07, 317.33°)
OKLaboklab(73.32% 0.1273 -0.1302)
OKLCHoklch(73.32% 0.182 314.4)
XYZxyz(51.2144, 36.1189, 92.2514)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281F7 #A6F781
analogous
#9781F7 #D281F7 #F781E1
triadic
#D281F7 #F7D281 #81F7D2
tetradic
#D281F7 #F79781 #A6F781 #81E1F7
square
#D281F7 #F79781 #A6F781 #81E1F7
split-complementary
#D281F7 #E1F781 #81F797
monochromatic
#A80FEE #BD47F3 #D281F7 #E7BBFB #F5E2FD

Accessibility & contrast

On white

2.55
#D281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D281F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281F7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281F7#FFFFFF#000000##000000
##D281F71.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#CF93B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d281f7;
/* rgb */ color: rgb(210, 129, 247);
/* oklch */ color: oklch(73.3% 0.182 314.4);
Tailwind
colors: {
  custom: {
    50: '#e2a8fa',
    500: '#d281f7',
    950: '#000000',
  },
}
SCSS
$custom: #d281f7;
$custom-light: #e2a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d281f7",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 281.186,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73316,
    "c": 0.18206,
    "h": 314.4
  },
  "luminance": 0.36118
}

Semantic roles & 50–950 ramp

primary
#D281F7
secondary
#E0F5D6
accent
#E50148
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D281F7

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

Preview Lab → · Contrast checker → · Palette generator →

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