#D281F3#D281F3

#D281F3 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.178 H 315.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D281F3
RGBrgb(210, 129, 243)
HSLhsl(283, 83%, 73%)
HSVhsv(283, 47%, 95%)
CMYKcmyk(13.6%, 46.9%, 0%, 4.7%)
CIE-LABlab(66.42, 49.97, -44.91)
CIE-LCHlch(66.42, 67.19, 318.05°)
OKLaboklab(73.12% 0.1268 -0.1247)
OKLCHoklch(73.12% 0.178 315.5)
XYZxyz(50.6038, 35.8746, 89.0355)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281F3 #A2F381
analogous
#9981F3 #D281F3 #F381DB
triadic
#D281F3 #F3D281 #81F3D2
tetradic
#D281F3 #F39981 #A2F381 #81DBF3
square
#D281F3 #F39981 #A2F381 #81DBF3
split-complementary
#D281F3 #DBF381 #81F399
monochromatic
#A816E4 #BE49EE #D281F3 #E6B9F8 #F5E3FC

Accessibility & contrast

On white

2.57
#D281F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D281F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281F3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281F3#FFFFFF#000000##000000
##D281F31.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#81A4F0
Tritanopia (blue-blind)
#D092AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d281f3;
/* rgb */ color: rgb(210, 129, 243);
/* oklch */ color: oklch(73.1% 0.178 315.5);
Tailwind
colors: {
  custom: {
    50: '#e2a8f7',
    500: '#d281f3',
    950: '#000000',
  },
}
SCSS
$custom: #d281f3;
$custom-light: #e2a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d281f3",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 282.632,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.17778,
    "h": 315.5
  },
  "luminance": 0.35873
}

Semantic roles & 50–950 ramp

primary
#D281F3
secondary
#DFF4D7
accent
#DF0645
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D281F3

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

Preview Lab → · Contrast checker → · Palette generator →

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