#B28BED#B28BED

#B28BED is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.144 H 301.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B28BED
RGBrgb(178, 139, 237)
HSLhsl(264, 73%, 74%)
HSVhsv(264, 41%, 93%)
CMYKcmyk(24.9%, 41.4%, 0%, 7.1%)
CIE-LABlab(65.00, 34.34, -44.08)
CIE-LCHlch(65.00, 55.88, 307.92°)
OKLaboklab(71.21% 0.0744 -0.123)
OKLCHoklch(71.21% 0.144 301.2)
XYZxyz(42.8754, 34.0445, 84.4168)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BED #C6ED8B
analogous
#8B95ED #B28BED #E38BED
triadic
#B28BED #EDB28B #8BEDB2
tetradic
#B28BED #ED8B95 #C6ED8B #8BEDE3
square
#B28BED #ED8B95 #C6ED8B #8BEDE3
split-complementary
#B28BED #EDE38B #95ED8B
monochromatic
#6C22DC #8F56E5 #B28BED #D5C0F5 #EDE5FB

Accessibility & contrast

On white

2.69
#B28BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B28BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BED
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BED#FFFFFF#000000##000000
##B28BED1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#A79CB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28bed;
/* rgb */ color: rgb(178, 139, 237);
/* oklch */ color: oklch(71.2% 0.144 301.2);
Tailwind
colors: {
  custom: {
    50: '#cbadf3',
    500: '#b28bed',
    950: '#000000',
  },
}
SCSS
$custom: #b28bed;
$custom-light: #cbadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bed",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 263.878,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.14377,
    "h": 301.2
  },
  "luminance": 0.34045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28BED

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

Preview Lab → · Contrast checker → · Palette generator →

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