#B28AED#B28AED

#B28AED is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.145 H 301.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B28AED
RGBrgb(178, 138, 237)
HSLhsl(264, 73%, 74%)
HSVhsv(264, 42%, 93%)
CMYKcmyk(24.9%, 41.8%, 0%, 7.1%)
CIE-LABlab(64.77, 34.89, -44.44)
CIE-LCHlch(64.77, 56.50, 308.14°)
OKLaboklab(71.03% 0.0758 -0.124)
OKLCHoklch(71.03% 0.145 301.4)
XYZxyz(42.7312, 33.7563, 84.3687)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28AED #C5ED8A
analogous
#8A93ED #B28AED #E38AED
triadic
#B28AED #EDB28A #8AEDB2
tetradic
#B28AED #ED8A93 #C5ED8A #8AEDE3
square
#B28AED #ED8A93 #C5ED8A #8AEDE3
split-complementary
#B28AED #EDE38A #93ED8A
monochromatic
#6D22DB #8F55E5 #B28AED #D5BFF5 #EEE4FB

Accessibility & contrast

On white

2.71
#B28AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B28AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28AED
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28AED#FFFFFF#000000##000000
##B28AED1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF1
Deuteranopia (green-blind)
#789DEA
Tritanopia (blue-blind)
#A79BB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b28aed;
/* rgb */ color: rgb(178, 138, 237);
/* oklch */ color: oklch(71.0% 0.145 301.4);
Tailwind
colors: {
  custom: {
    50: '#cbacf3',
    500: '#b28aed',
    950: '#000000',
  },
}
SCSS
$custom: #b28aed;
$custom-light: #cbacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28aed",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 264.242,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.14538,
    "h": 301.4
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#B28AED
secondary
#E8F3D8
accent
#D51086
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28AED

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

Preview Lab → · Contrast checker → · Palette generator →

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