#D28BFB#D28BFB

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

Color values

HEX#D28BFB
RGBrgb(210, 139, 251)
HSLhsl(278, 93%, 76%)
HSVhsv(278, 45%, 98%)
CMYKcmyk(16.3%, 44.6%, 0%, 1.6%)
CIE-LABlab(68.85, 46.39, -45.49)
CIE-LCHlch(68.85, 64.97, 315.56°)
OKLaboklab(75.04% 0.1142 -0.1264)
OKLCHoklch(75.04% 0.17 312.1)
XYZxyz(53.2205, 39.1330, 95.9979)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BFB #B4FB8B
analogous
#9A8BFB #D28BFB #FB8BEC
triadic
#D28BFB #FBD28B #8BFBD2
tetradic
#D28BFB #FB9A8B #B4FB8B #8BECFB
square
#D28BFB #FB9A8B #B4FB8B #8BECFB
split-complementary
#D28BFB #ECFB8B #8BFB9A
monochromatic
#A415F7 #BB50F9 #D28BFB #E9C6FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.83
#D28BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BFB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BFB#FFFFFF#000000##000000
##D28BFB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#CE9CB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28bfb;
/* rgb */ color: rgb(210, 139, 251);
/* oklch */ color: oklch(75.0% 0.170 312.1);
Tailwind
colors: {
  custom: {
    50: '#e2aefd',
    500: '#d28bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d28bfb;
$custom-light: #e2aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bfb",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 278.036,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.17035,
    "h": 312.1
  },
  "luminance": 0.39132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D28BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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