#D282F7#D282F7

#D282F7 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.180 H 314.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D282F7
RGBrgb(210, 130, 247)
HSLhsl(281, 88%, 74%)
HSVhsv(281, 47%, 97%)
CMYKcmyk(15%, 47.4%, 0%, 3.1%)
CIE-LABlab(66.81, 50.27, -46.50)
CIE-LCHlch(66.81, 68.48, 317.23°)
OKLaboklab(73.47% 0.1259 -0.1293)
OKLCHoklch(73.47% 0.18 314.3)
XYZxyz(51.3468, 36.3836, 92.2955)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D282F7 #A7F782
analogous
#9882F7 #D282F7 #F782E1
triadic
#D282F7 #F7D282 #82F7D2
tetradic
#D282F7 #F79882 #A7F782 #82E1F7
square
#D282F7 #F79882 #A7F782 #82E1F7
split-complementary
#D282F7 #E1F782 #82F798
monochromatic
#A80FEF #BD48F3 #D282F7 #E7BCFB #F5E2FD

Accessibility & contrast

On white

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

On black

8.28
#D282F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D282F7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D282F7#FFFFFF#000000##000000
##D282F71.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#CF94B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d282f7;
/* rgb */ color: rgb(210, 130, 247);
/* oklch */ color: oklch(73.5% 0.180 314.3);
Tailwind
colors: {
  custom: {
    50: '#e2a8fa',
    500: '#d282f7',
    950: '#000000',
  },
}
SCSS
$custom: #d282f7;
$custom-light: #e2a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d282f7",
  "rgb": {
    "r": 210,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 281.026,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.18046,
    "h": 314.3
  },
  "luminance": 0.36382
}

Semantic roles & 50–950 ramp

primary
#D282F7
secondary
#E0F5D6
accent
#E50149
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D282F7

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

Preview Lab → · Contrast checker → · Palette generator →

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