#D28BFA#D28BFA

#D28BFA is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.169 H 312.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D28BFA
RGBrgb(210, 139, 250)
HSLhsl(278, 92%, 76%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16%, 44.4%, 0%, 2%)
CIE-LABlab(68.80, 46.18, -45.01)
CIE-LCHlch(68.80, 64.49, 315.73°)
OKLaboklab(75% 0.1141 -0.125)
OKLCHoklch(75% 0.169 312.4)
XYZxyz(53.0633, 39.0701, 95.1699)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BFA #B3FA8B
analogous
#9B8BFA #D28BFA #FA8BEB
triadic
#D28BFA #FAD28B #8BFAD2
tetradic
#D28BFA #FA9B8B #B3FA8B #8BEBFA
square
#D28BFA #FA9B8B #B3FA8B #8BEBFA
split-complementary
#D28BFA #EBFA8B #8BFA9B
monochromatic
#A416F5 #BB50F7 #D28BFA #E9C6FD #F4E2FE

Accessibility & contrast

On white

2.38
#D28BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#D28BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BFA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BFA#FFFFFF#000000##000000
##D28BFA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CE9CB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28bfa;
/* rgb */ color: rgb(210, 139, 250);
/* oklch */ color: oklch(75.0% 0.169 312.4);
Tailwind
colors: {
  custom: {
    50: '#e1aefc',
    500: '#d28bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d28bfa;
$custom-light: #e1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bfa",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 278.378,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74995,
    "c": 0.16924,
    "h": 312.4
  },
  "luminance": 0.39069
}

Semantic roles & 50–950 ramp

primary
#D28BFA
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D28BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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