#B28AF3#B28AF3

#B28AF3 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.153 H 300.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B28AF3
RGBrgb(178, 138, 243)
HSLhsl(263, 81%, 75%)
HSVhsv(263, 43%, 95%)
CMYKcmyk(26.7%, 43.2%, 0%, 4.7%)
CIE-LABlab(65.05, 36.32, -47.30)
CIE-LCHlch(65.05, 59.63, 307.52°)
OKLaboklab(71.34% 0.0768 -0.1323)
OKLCHoklch(71.34% 0.153 300.1)
XYZxyz(43.6225, 34.1128, 89.0629)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28AF3 #CBF38A
analogous
#8A97F3 #B28AF3 #E68AF3
triadic
#B28AF3 #F3B28A #8AF3B2
tetradic
#B28AF3 #F38A97 #CBF38A #8AF3E6
square
#B28AF3 #F38A97 #CBF38A #8AF3E6
split-complementary
#B28AF3 #F3E68A #97F38A
monochromatic
#691BE8 #8D52ED #B28AF3 #D7C2F9 #EDE3FC

Accessibility & contrast

On white

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

On black

7.82
#B28AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28AF3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28AF3#FFFFFF#000000##000000
##B28AF31.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#759DF0
Tritanopia (blue-blind)
#A69CB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28af3;
/* rgb */ color: rgb(178, 138, 243);
/* oklch */ color: oklch(71.3% 0.153 300.1);
Tailwind
colors: {
  custom: {
    50: '#cbadf7',
    500: '#b28af3',
    950: '#000000',
  },
}
SCSS
$custom: #b28af3;
$custom-light: #cbadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b28af3",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 262.857,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.15301,
    "h": 300.1
  },
  "luminance": 0.34113
}

Semantic roles & 50–950 ramp

primary
#B28AF3
secondary
#E9F4D7
accent
#DE088C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B28AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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