#D281FF#D281FF

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

Color values

HEX#D281FF
RGBrgb(210, 129, 255)
HSLhsl(279, 100%, 75%)
HSVhsv(279, 49%, 100%)
CMYKcmyk(17.6%, 49.4%, 0%, 0%)
CIE-LABlab(66.99, 52.45, -50.59)
CIE-LCHlch(66.99, 72.88, 316.03°)
OKLaboklab(73.72% 0.1282 -0.1411)
OKLCHoklch(73.72% 0.191 312.3)
XYZxyz(52.4755, 36.6233, 98.8930)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FF #AEFF81
analogous
#9381FF #D281FF #FF81ED
triadic
#D281FF #FFD281 #81FFD2
tetradic
#D281FF #FF9381 #AEFF81 #81EDFF
square
#D281FF #FF9381 #AEFF81 #81EDFF
split-complementary
#D281FF #EDFF81 #81FF93
monochromatic
#A607FF #BC44FF #D281FF #E8BEFF #F4E0FF

Accessibility & contrast

On white

2.52
#D281FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#D281FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FF#FFFFFF#000000##000000
##D281FF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#CD95B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d281ff;
/* rgb */ color: rgb(210, 129, 255);
/* oklch */ color: oklch(73.7% 0.191 312.3);
Tailwind
colors: {
  custom: {
    50: '#e2a8ff',
    500: '#d281ff',
    950: '#000000',
  },
}
SCSS
$custom: #d281ff;
$custom-light: #e2a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ff",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 278.571,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73725,
    "c": 0.19068,
    "h": 312.3
  },
  "luminance": 0.36622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D281FF

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

Preview Lab → · Contrast checker → · Palette generator →

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