#D281FE#D281FE

#D281FE is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.7% C 0.190 H 312.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#D281FE
RGBrgb(210, 129, 254)
HSLhsl(279, 98%, 75%)
HSVhsv(279, 49%, 100%)
CMYKcmyk(17.3%, 49.2%, 0%, 0.4%)
CIE-LABlab(66.94, 52.24, -50.12)
CIE-LCHlch(66.94, 72.40, 316.19°)
OKLaboklab(73.67% 0.1281 -0.1398)
OKLCHoklch(73.67% 0.19 312.5)
XYZxyz(52.3149, 36.5591, 98.0474)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FE #ADFE81
analogous
#9381FE #D281FE #FE81EB
triadic
#D281FE #FED281 #81FED2
tetradic
#D281FE #FE9381 #ADFE81 #81EBFE
square
#D281FE #FE9381 #ADFE81 #81EBFE
split-complementary
#D281FE #EBFE81 #81FE93
monochromatic
#A708FD #BC44FE #D281FE #E8BEFE #F4E1FF

Accessibility & contrast

On white

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

On black

8.31
#D281FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FE#FFFFFF#000000##000000
##D281FE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#CE95B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d281fe;
/* rgb */ color: rgb(210, 129, 254);
/* oklch */ color: oklch(73.7% 0.190 312.5);
Tailwind
colors: {
  custom: {
    50: '#e2a8ff',
    500: '#d281fe',
    950: '#000000',
  },
}
SCSS
$custom: #d281fe;
$custom-light: #e2a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d281fe",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 278.88,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73673,
    "c": 0.1896,
    "h": 312.5
  },
  "luminance": 0.36558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D281FE

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

Preview Lab → · Contrast checker → · Palette generator →

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