#B28DEE#B28DEE

#B28DEE is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.142 H 300.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B28DEE
RGBrgb(178, 141, 238)
HSLhsl(263, 74%, 74%)
HSVhsv(263, 41%, 93%)
CMYKcmyk(25.2%, 40.8%, 0%, 6.7%)
CIE-LABlab(65.50, 33.46, -43.84)
CIE-LCHlch(65.50, 55.14, 307.35°)
OKLaboklab(71.6% 0.0719 -0.1223)
OKLCHoklch(71.6% 0.142 300.4)
XYZxyz(43.3141, 34.6876, 85.2858)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DEE #C9EE8D
analogous
#8D99EE #B28DEE #E38DEE
triadic
#B28DEE #EEB28D #8DEEB2
tetradic
#B28DEE #EE8D99 #C9EE8D #8DEEE3
square
#B28DEE #EE8D99 #C9EE8D #8DEEE3
split-complementary
#B28DEE #EEE38D #99EE8D
monochromatic
#6A22DE #8E58E6 #B28DEE #D6C2F6 #EDE4FB

Accessibility & contrast

On white

2.65
#B28DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B28DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DEE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DEE#FFFFFF#000000##000000
##B28DEE1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#A79DB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28dee;
/* rgb */ color: rgb(178, 141, 238);
/* oklch */ color: oklch(71.6% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#cbaff4',
    500: '#b28dee',
    950: '#000000',
  },
}
SCSS
$custom: #b28dee;
$custom-light: #cbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b28dee",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 262.887,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.14186,
    "h": 300.4
  },
  "luminance": 0.34688
}

Semantic roles & 50–950 ramp

primary
#B28DEE
secondary
#E9F3D8
accent
#D60F8A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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