#D281FA#D281FA

#D281FA is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.185 H 313.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#D281FA
RGBrgb(210, 129, 250)
HSLhsl(280, 92%, 74%)
HSVhsv(280, 48%, 98%)
CMYKcmyk(16%, 48.4%, 0%, 2%)
CIE-LABlab(66.75, 51.41, -48.24)
CIE-LCHlch(66.75, 70.50, 316.82°)
OKLaboklab(73.47% 0.1277 -0.1343)
OKLCHoklch(73.47% 0.185 313.6)
XYZxyz(51.6811, 36.3055, 94.7091)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FA #A9FA81
analogous
#9681FA #D281FA #FA81E6
triadic
#D281FA #FAD281 #81FAD2
tetradic
#D281FA #FA9681 #A9FA81 #81E6FA
square
#D281FA #FA9681 #A9FA81 #81E6FA
split-complementary
#D281FA #E6FA81 #81FA96
monochromatic
#A80BF5 #BD46F8 #D281FA #E7BCFC #F4E2FE

Accessibility & contrast

On white

2.54
#D281FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#D281FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FA#FFFFFF#000000##000000
##D281FA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#7EA4F7
Tritanopia (blue-blind)
#CF94B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d281fa;
/* rgb */ color: rgb(210, 129, 250);
/* oklch */ color: oklch(73.5% 0.185 313.6);
Tailwind
colors: {
  custom: {
    50: '#e2a8fc',
    500: '#d281fa',
    950: '#000000',
  },
}
SCSS
$custom: #d281fa;
$custom-light: #e2a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d281fa",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 280.165,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73468,
    "c": 0.18529,
    "h": 313.6
  },
  "luminance": 0.36304
}

Semantic roles & 50–950 ramp

primary
#D281FA
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D281FA

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

Preview Lab → · Contrast checker → · Palette generator →

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