#B28AE0#B28AE0

#B28AE0 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.129 H 304.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B28AE0
RGBrgb(178, 138, 224)
HSLhsl(268, 58%, 71%)
HSVhsv(268, 38%, 88%)
CMYKcmyk(20.5%, 38.4%, 0%, 12.2%)
CIE-LABlab(64.18, 31.88, -38.17)
CIE-LCHlch(64.18, 49.73, 309.87°)
OKLaboklab(70.4% 0.0734 -0.1059)
OKLCHoklch(70.4% 0.129 304.7)
XYZxyz(40.9004, 33.0239, 74.7261)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28AE0 #B8E08A
analogous
#8A8DE0 #B28AE0 #DD8AE0
triadic
#B28AE0 #E0B28A #8AE0B2
tetradic
#B28AE0 #E08A8D #B8E08A #8AE0DD
square
#B28AE0 #E08A8D #B8E08A #8AE0DD
split-complementary
#B28AE0 #E0DD8A #8DE08A
monochromatic
#7332BD #925AD3 #B28AE0 #D2BAED #EFE7F9

Accessibility & contrast

On white

2.76
#B28AE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B28AE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28AE0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28AE0#FFFFFF#000000##000000
##B28AE01.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE3
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#AB97AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b28ae0;
/* rgb */ color: rgb(178, 138, 224);
/* oklch */ color: oklch(70.4% 0.129 304.7);
Tailwind
colors: {
  custom: {
    50: '#caacea',
    500: '#b28ae0',
    950: '#000000',
  },
}
SCSS
$custom: #b28ae0;
$custom-light: #caacea;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ae0",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 224
  },
  "hsl": {
    "h": 267.907,
    "s": 58.108,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.12886,
    "h": 304.7
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#B28AE0
secondary
#E4EED7
accent
#C62079
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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