#D281FB#D281FB

#D281FB is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.5% C 0.186 H 313.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D281FB
RGBrgb(210, 129, 251)
HSLhsl(280, 94%, 75%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.3%, 48.6%, 0%, 1.6%)
CIE-LABlab(66.80, 51.62, -48.71)
CIE-LCHlch(66.80, 70.97, 316.66°)
OKLaboklab(73.52% 0.1278 -0.1357)
OKLCHoklch(73.52% 0.186 313.3)
XYZxyz(51.8383, 36.3684, 95.5371)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FB #AAFB81
analogous
#9581FB #D281FB #FB81E7
triadic
#D281FB #FBD281 #81FBD2
tetradic
#D281FB #FB9581 #AAFB81 #81E7FB
square
#D281FB #FB9581 #AAFB81 #81E7FB
split-complementary
#D281FB #E7FB81 #81FB95
monochromatic
#A80AF7 #BD46F9 #D281FB #E7BCFD #F4E1FE

Accessibility & contrast

On white

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

On black

8.27
#D281FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FB#FFFFFF#000000##000000
##D281FB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#CE94B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d281fb;
/* rgb */ color: rgb(210, 129, 251);
/* oklch */ color: oklch(73.5% 0.186 313.3);
Tailwind
colors: {
  custom: {
    50: '#e2a8fd',
    500: '#d281fb',
    950: '#000000',
  },
}
SCSS
$custom: #d281fb;
$custom-light: #e2a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d281fb",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 279.836,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.18636,
    "h": 313.3
  },
  "luminance": 0.36367
}

Semantic roles & 50–950 ramp

primary
#D281FB
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D281FB

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

Preview Lab → · Contrast checker → · Palette generator →

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