#B28EDA#B28EDA

#B28EDA is a light, moderate violet. Relative luminance 0.339; OKLCH L 70.8% C 0.114 H 305.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B28EDA
RGBrgb(178, 142, 218)
HSLhsl(268, 51%, 71%)
HSVhsv(268, 35%, 85%)
CMYKcmyk(18.3%, 34.9%, 0%, 14.5%)
CIE-LABlab(64.86, 28.28, -33.78)
CIE-LCHlch(64.86, 44.06, 309.94°)
OKLaboklab(70.83% 0.0663 -0.0933)
OKLCHoklch(70.83% 0.114 305.4)
XYZxyz(40.6855, 33.8731, 70.7109)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28EDA #B6DA8E
analogous
#8E90DA #B28EDA #D88EDA
triadic
#B28EDA #DAB28E #8EDAB2
tetradic
#B28EDA #DA8E90 #B6DA8E #8EDAD8
square
#B28EDA #DA8E90 #B6DA8E #8EDAD8
split-complementary
#B28EDA #DAD88E #90DA8E
monochromatic
#743BB3 #9360CB #B28EDA #D1BCE9 #EFE8F7

Accessibility & contrast

On white

2.70
#B28EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B28EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28EDA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28EDA#FFFFFF#000000##000000
##B28EDA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDD
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#AC99AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b28eda;
/* rgb */ color: rgb(178, 142, 218);
/* oklch */ color: oklch(70.8% 0.114 305.4);
Tailwind
colors: {
  custom: {
    50: '#caafe5',
    500: '#b28eda',
    950: '#000000',
  },
}
SCSS
$custom: #b28eda;
$custom-light: #caafe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28eda",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 268.421,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.11449,
    "h": 305.4
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

primary
#B28EDA
secondary
#E2ECD8
accent
#BE2777
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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