#D284F7#D284F7

#D284F7 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.8% C 0.177 H 314.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D284F7
RGBrgb(210, 132, 247)
HSLhsl(281, 88%, 74%)
HSVhsv(281, 47%, 97%)
CMYKcmyk(15%, 46.6%, 0%, 3.1%)
CIE-LABlab(67.22, 49.23, -45.86)
CIE-LCHlch(67.22, 67.28, 317.03°)
OKLaboklab(73.77% 0.1232 -0.1274)
OKLCHoklch(73.77% 0.177 314)
XYZxyz(51.6154, 36.9208, 92.3851)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284F7 #A9F784
analogous
#9984F7 #D284F7 #F784E2
triadic
#D284F7 #F7D284 #84F7D2
tetradic
#D284F7 #F79984 #A9F784 #84E2F7
square
#D284F7 #F79984 #A9F784 #84E2F7
split-complementary
#D284F7 #E2F784 #84F799
monochromatic
#A811F0 #BD4BF3 #D284F7 #E7BDFB #F4E2FD

Accessibility & contrast

On white

2.50
#D284F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#D284F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284F7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284F7#FFFFFF#000000##000000
##D284F71.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#CF95B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284f7;
/* rgb */ color: rgb(210, 132, 247);
/* oklch */ color: oklch(73.8% 0.177 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2aafa',
    500: '#d284f7',
    950: '#000000',
  },
}
SCSS
$custom: #d284f7;
$custom-light: #e2aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#d284f7",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 280.696,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73768,
    "c": 0.17725,
    "h": 314
  },
  "luminance": 0.3692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D284F7

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

Preview Lab → · Contrast checker → · Palette generator →

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