#B28FDA#B28FDA

#B28FDA is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.0% C 0.113 H 305.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B28FDA
RGBrgb(178, 143, 218)
HSLhsl(268, 50%, 71%)
HSVhsv(268, 34%, 85%)
CMYKcmyk(18.3%, 34.4%, 0%, 14.5%)
CIE-LABlab(65.10, 27.72, -33.41)
CIE-LCHlch(65.10, 43.41, 309.68°)
OKLaboklab(71.01% 0.0649 -0.0923)
OKLCHoklch(71.01% 0.113 305.1)
XYZxyz(40.8349, 34.1720, 70.7607)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FDA #B7DA8F
analogous
#8F91DA #B28FDA #D78FDA
triadic
#B28FDA #DAB28F #8FDAB2
tetradic
#B28FDA #DA8F91 #B7DA8F #8FDAD7
square
#B28FDA #DA8F91 #B7DA8F #8FDAD7
split-complementary
#B28FDA #DAD78F #91DA8F
monochromatic
#733BB3 #9261CB #B28FDA #D2BDE9 #EFE8F7

Accessibility & contrast

On white

2.68
#B28FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B28FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FDA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FDA#FFFFFF#000000##000000
##B28FDA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDD
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#AC9AAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28fda;
/* rgb */ color: rgb(178, 143, 218);
/* oklch */ color: oklch(71.0% 0.113 305.1);
Tailwind
colors: {
  custom: {
    50: '#cab0e5',
    500: '#b28fda',
    950: '#000000',
  },
}
SCSS
$custom: #b28fda;
$custom-light: #cab0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fda",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 268,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.1128,
    "h": 305.1
  },
  "luminance": 0.34172
}

Semantic roles & 50–950 ramp

primary
#B28FDA
secondary
#E3ECD8
accent
#BE2878
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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