#B28ADE#B28ADE

#B28ADE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.126 H 305.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B28ADE
RGBrgb(178, 138, 222)
HSLhsl(269, 56%, 71%)
HSVhsv(269, 38%, 87%)
CMYKcmyk(19.8%, 37.8%, 0%, 12.9%)
CIE-LABlab(64.09, 31.43, -37.20)
CIE-LCHlch(64.09, 48.70, 310.19°)
OKLaboklab(70.3% 0.073 -0.1031)
OKLCHoklch(70.3% 0.126 305.3)
XYZxyz(40.6307, 32.9161, 73.3060)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28ADE #B6DE8A
analogous
#8A8CDE #B28ADE #DC8ADE
triadic
#B28ADE #DEB28A #8ADEB2
tetradic
#B28ADE #DE8A8C #B6DE8A #8ADEDC
square
#B28ADE #DE8A8C #B6DE8A #8ADEDC
split-complementary
#B28ADE #DEDC8A #8CDE8A
monochromatic
#7434B9 #935AD1 #B28ADE #D1BAEB #EFE7F8

Accessibility & contrast

On white

2.77
#B28ADE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B28ADE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28ADE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28ADE#FFFFFF#000000##000000
##B28ADE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE1
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#AB97AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28ade;
/* rgb */ color: rgb(178, 138, 222);
/* oklch */ color: oklch(70.3% 0.126 305.3);
Tailwind
colors: {
  custom: {
    50: '#caace8',
    500: '#b28ade',
    950: '#000000',
  },
}
SCSS
$custom: #b28ade;
$custom-light: #caace8;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ade",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 222
  },
  "hsl": {
    "h": 268.571,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.12631,
    "h": 305.3
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#B28ADE
secondary
#E2EDD6
accent
#C42277
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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