#B28DE2#B28DE2

#B28DE2 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.126 H 303.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B28DE2
RGBrgb(178, 141, 226)
HSLhsl(266, 59%, 72%)
HSVhsv(266, 38%, 89%)
CMYKcmyk(21.2%, 37.6%, 0%, 11.4%)
CIE-LABlab(64.97, 30.66, -38.05)
CIE-LCHlch(64.97, 48.87, 308.86°)
OKLaboklab(71.02% 0.0695 -0.1056)
OKLCHoklch(71.02% 0.126 303.4)
XYZxyz(41.6096, 34.0058, 76.3084)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DE2 #BDE28D
analogous
#8D93E2 #B28DE2 #DD8DE2
triadic
#B28DE2 #E2B28D #8DE2B2
tetradic
#B28DE2 #E28D93 #BDE28D #8DE2DD
square
#B28DE2 #E28D93 #BDE28D #8DE2DD
split-complementary
#B28DE2 #E2DD8D #93E28D
monochromatic
#7132C3 #915CD6 #B28DE2 #D3BEEE #EFE7F9

Accessibility & contrast

On white

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

On black

7.80
#B28DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DE2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DE2#FFFFFF#000000##000000
##B28DE21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#819EE0
Tritanopia (blue-blind)
#AA9AAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28de2;
/* rgb */ color: rgb(178, 141, 226);
/* oklch */ color: oklch(71.0% 0.126 303.4);
Tailwind
colors: {
  custom: {
    50: '#caaeeb',
    500: '#b28de2',
    950: '#000000',
  },
}
SCSS
$custom: #b28de2;
$custom-light: #caaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b28de2",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 266.118,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71021,
    "c": 0.12643,
    "h": 303.4
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#B28DE2
secondary
#E7F0DB
accent
#C71E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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