#D284FC#D284FC

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

Color values

HEX#D284FC
RGBrgb(210, 132, 252)
HSLhsl(279, 95%, 75%)
HSVhsv(279, 48%, 99%)
CMYKcmyk(16.7%, 47.6%, 0%, 1.2%)
CIE-LABlab(67.45, 50.27, -48.23)
CIE-LCHlch(67.45, 69.67, 316.19°)
OKLaboklab(74.02% 0.1239 -0.1343)
OKLCHoklch(74.02% 0.183 312.7)
XYZxyz(52.3973, 37.2336, 96.5032)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D284FC #AEFC84
analogous
#9684FC #D284FC #FC84EA
triadic
#D284FC #FCD284 #84FCD2
tetradic
#D284FC #FC9684 #AEFC84 #84EAFC
square
#D284FC #FC9684 #AEFC84 #84EAFC
split-complementary
#D284FC #EAFC84 #84FC96
monochromatic
#A60DF9 #BC48FB #D284FC #E8C0FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.45
#D284FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D284FC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D284FC#FFFFFF#000000##000000
##D284FC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#CE97B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d284fc;
/* rgb */ color: rgb(210, 132, 252);
/* oklch */ color: oklch(74.0% 0.183 312.7);
Tailwind
colors: {
  custom: {
    50: '#e2aafe',
    500: '#d284fc',
    950: '#000000',
  },
}
SCSS
$custom: #d284fc;
$custom-light: #e2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d284fc",
  "rgb": {
    "r": 210,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 279,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74019,
    "c": 0.18269,
    "h": 312.7
  },
  "luminance": 0.37232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D284FC

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

Preview Lab → · Contrast checker → · Palette generator →

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