#D28BF2#D28BF2

#D28BF2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.6% C 0.160 H 314.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D28BF2
RGBrgb(210, 139, 242)
HSLhsl(281, 80%, 75%)
HSVhsv(281, 43%, 95%)
CMYKcmyk(13.2%, 42.6%, 0%, 5.1%)
CIE-LABlab(68.45, 44.52, -41.20)
CIE-LCHlch(68.45, 60.66, 317.22°)
OKLaboklab(74.61% 0.1128 -0.114)
OKLCHoklch(74.61% 0.16 314.7)
XYZxyz(51.8354, 38.5789, 88.7031)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF2 #ABF28B
analogous
#9F8BF2 #D28BF2 #F28BDF
triadic
#D28BF2 #F2D28B #8BF2D2
tetradic
#D28BF2 #F29F8B #ABF28B #8BDFF2
square
#D28BF2 #F29F8B #ABF28B #8BDFF2
split-complementary
#D28BF2 #DFF28B #8BF29F
monochromatic
#A71DE6 #BD54EC #D28BF2 #E7C2F8 #F4E3FC

Accessibility & contrast

On white

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

On black

8.72
#D28BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BF2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BF2#FFFFFF#000000##000000
##D28BF21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#D09AB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28bf2;
/* rgb */ color: rgb(210, 139, 242);
/* oklch */ color: oklch(74.6% 0.160 314.7);
Tailwind
colors: {
  custom: {
    50: '#e1aef6',
    500: '#d28bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf2;
$custom-light: #e1aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf2",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 281.359,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74611,
    "c": 0.16035,
    "h": 314.7
  },
  "luminance": 0.38578
}

Semantic roles & 50–950 ramp

primary
#D28BF2
secondary
#E0F4D7
accent
#DC094B
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D28BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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