#D281FD#D281FD

#D281FD is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.6% C 0.189 H 312.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#D281FD
RGBrgb(210, 129, 253)
HSLhsl(279, 97%, 75%)
HSVhsv(279, 49%, 99%)
CMYKcmyk(17%, 49%, 0%, 0.8%)
CIE-LABlab(66.90, 52.03, -49.65)
CIE-LCHlch(66.90, 71.92, 316.34°)
OKLaboklab(73.62% 0.128 -0.1384)
OKLCHoklch(73.62% 0.189 312.8)
XYZxyz(52.1552, 36.4952, 97.2063)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FD #ACFD81
analogous
#9481FD #D281FD #FD81EA
triadic
#D281FD #FDD281 #81FDD2
tetradic
#D281FD #FD9481 #ACFD81 #81EAFD
square
#D281FD #FD9481 #ACFD81 #81EAFD
split-complementary
#D281FD #EAFD81 #81FD94
monochromatic
#A709FB #BC45FC #D281FD #E8BDFE #F4E1FF

Accessibility & contrast

On white

2.53
#D281FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#D281FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FD#FFFFFF#000000##000000
##D281FD1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#CE95B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d281fd;
/* rgb */ color: rgb(210, 129, 253);
/* oklch */ color: oklch(73.6% 0.189 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2a8fe',
    500: '#d281fd',
    950: '#000000',
  },
}
SCSS
$custom: #d281fd;
$custom-light: #e2a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d281fd",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 279.194,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.18852,
    "h": 312.8
  },
  "luminance": 0.36494
}

Semantic roles & 50–950 ramp

primary
#D281FD
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D281FD

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

Preview Lab → · Contrast checker → · Palette generator →

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