#B28DED#B28DED

#B28DED is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.141 H 300.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B28DED
RGBrgb(178, 141, 237)
HSLhsl(263, 73%, 74%)
HSVhsv(263, 41%, 93%)
CMYKcmyk(24.9%, 40.5%, 0%, 7.1%)
CIE-LABlab(65.46, 33.22, -43.36)
CIE-LCHlch(65.46, 54.62, 307.46°)
OKLaboklab(71.56% 0.0717 -0.1209)
OKLCHoklch(71.56% 0.141 300.7)
XYZxyz(43.1676, 34.6290, 84.5142)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DED #C8ED8D
analogous
#8D98ED #B28DED #E28DED
triadic
#B28DED #EDB28D #8DEDB2
tetradic
#B28DED #ED8D98 #C8ED8D #8DEDE2
square
#B28DED #ED8D98 #C8ED8D #8DEDE2
split-complementary
#B28DED #EDE28D #98ED8D
monochromatic
#6B23DC #8E58E5 #B28DED #D6C2F5 #EDE5FB

Accessibility & contrast

On white

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

On black

7.93
#B28DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DED
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DED#FFFFFF#000000##000000
##B28DED1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#A79DB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28ded;
/* rgb */ color: rgb(178, 141, 237);
/* oklch */ color: oklch(71.6% 0.141 300.7);
Tailwind
colors: {
  custom: {
    50: '#cbaff3',
    500: '#b28ded',
    950: '#000000',
  },
}
SCSS
$custom: #b28ded;
$custom-light: #cbaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ded",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 263.125,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.14057,
    "h": 300.7
  },
  "luminance": 0.34629
}

Semantic roles & 50–950 ramp

primary
#B28DED
secondary
#E8F2D9
accent
#D51189
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28DED

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

Preview Lab → · Contrast checker → · Palette generator →

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