#D284FB#D284FB

#D284FB is a light, vivid violet. Relative luminance 0.372; OKLCH L 74.0% C 0.182 H 313.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D284FB
RGBrgb(210, 132, 251)
HSLhsl(279, 94%, 75%)
HSVhsv(279, 47%, 98%)
CMYKcmyk(16.3%, 47.4%, 0%, 1.6%)
CIE-LABlab(67.40, 50.06, -47.76)
CIE-LCHlch(67.40, 69.19, 316.35°)
OKLaboklab(73.97% 0.1238 -0.1329)
OKLCHoklch(73.97% 0.182 313)
XYZxyz(52.2392, 37.1704, 95.6708)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284FB #ADFB84
analogous
#9784FB #D284FB #FB84E8
triadic
#D284FB #FBD284 #84FBD2
tetradic
#D284FB #FB9784 #ADFB84 #84E8FB
square
#D284FB #FB9784 #ADFB84 #84E8FB
split-complementary
#D284FB #E8FB84 #84FB97
monochromatic
#A70DF7 #BC49F9 #D284FB #E8BFFD #F4E1FE

Accessibility & contrast

On white

2.49
#D284FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#D284FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284FB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284FB#FFFFFF#000000##000000
##D284FB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#CE96B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284fb;
/* rgb */ color: rgb(210, 132, 251);
/* oklch */ color: oklch(74.0% 0.182 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2aafd',
    500: '#d284fb',
    950: '#000000',
  },
}
SCSS
$custom: #d284fb;
$custom-light: #e2aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#d284fb",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 279.328,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.1816,
    "h": 313
  },
  "luminance": 0.37169
}

Semantic roles & 50–950 ramp

primary
#D284FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D284FB

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

Preview Lab → · Contrast checker → · Palette generator →

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