#D28BF3#D28BF3

#D28BF3 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.7% C 0.161 H 314.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#D28BF3
RGBrgb(210, 139, 243)
HSLhsl(281, 81%, 75%)
HSVhsv(281, 43%, 95%)
CMYKcmyk(13.6%, 42.8%, 0%, 4.7%)
CIE-LABlab(68.49, 44.72, -41.68)
CIE-LCHlch(68.49, 61.13, 317.02°)
OKLaboklab(74.66% 0.1129 -0.1154)
OKLCHoklch(74.66% 0.161 314.4)
XYZxyz(51.9860, 38.6392, 89.4962)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF3 #ACF38B
analogous
#9E8BF3 #D28BF3 #F38BE0
triadic
#D28BF3 #F3D28B #8BF3D2
tetradic
#D28BF3 #F39E8B #ACF38B #8BE0F3
square
#D28BF3 #F39E8B #ACF38B #8BE0F3
split-complementary
#D28BF3 #E0F38B #8BF39E
monochromatic
#A71CE8 #BC54ED #D28BF3 #E8C2F9 #F4E3FC

Accessibility & contrast

On white

2.41
#D28BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#D28BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BF3
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BF3#FFFFFF#000000##000000
##D28BF31.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F7
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#D09AB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28bf3;
/* rgb */ color: rgb(210, 139, 243);
/* oklch */ color: oklch(74.7% 0.161 314.4);
Tailwind
colors: {
  custom: {
    50: '#e1aef7',
    500: '#d28bf3',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf3;
$custom-light: #e1aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf3",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 280.962,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.16145,
    "h": 314.4
  },
  "luminance": 0.38638
}

Semantic roles & 50–950 ramp

primary
#D28BF3
secondary
#E0F4D7
accent
#DE084C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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