#D281FC#D281FC

#D281FC is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.6% C 0.187 H 313.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#D281FC
RGBrgb(210, 129, 252)
HSLhsl(280, 95%, 75%)
HSVhsv(280, 49%, 99%)
CMYKcmyk(16.7%, 48.8%, 0%, 1.2%)
CIE-LABlab(66.85, 51.82, -49.18)
CIE-LCHlch(66.85, 71.45, 316.50°)
OKLaboklab(73.57% 0.1279 -0.137)
OKLCHoklch(73.57% 0.187 313)
XYZxyz(51.9963, 36.4316, 96.3695)
Luminance0.3643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281FC #ABFC81
analogous
#9581FC #D281FC #FC81E9
triadic
#D281FC #FCD281 #81FCD2
tetradic
#D281FC #FC9581 #ABFC81 #81E9FC
square
#D281FC #FC9581 #ABFC81 #81E9FC
split-complementary
#D281FC #E9FC81 #81FC95
monochromatic
#A709F9 #BD45FB #D281FC #E7BDFD #F4E1FE

Accessibility & contrast

On white

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

On black

8.29
#D281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281FC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281FC#FFFFFF#000000##000000
##D281FC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#CE94B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d281fc;
/* rgb */ color: rgb(210, 129, 252);
/* oklch */ color: oklch(73.6% 0.187 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2a8fe',
    500: '#d281fc',
    950: '#000000',
  },
}
SCSS
$custom: #d281fc;
$custom-light: #e2a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d281fc",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 279.512,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7357,
    "c": 0.18744,
    "h": 313
  },
  "luminance": 0.3643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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