#B28FFC#B28FFC

#B28FFC is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.157 H 297.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B28FFC
RGBrgb(178, 143, 252)
HSLhsl(259, 95%, 77%)
HSVhsv(259, 43%, 99%)
CMYKcmyk(29.4%, 43.3%, 0%, 1.2%)
CIE-LABlab(66.63, 35.71, -49.75)
CIE-LCHlch(66.63, 61.24, 305.67°)
OKLaboklab(72.67% 0.0715 -0.1395)
OKLCHoklch(72.67% 0.157 297.1)
XYZxyz(45.7490, 36.1377, 96.6416)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FFC #D9FC8F
analogous
#8FA3FC #B28FFC #E98FFC
triadic
#B28FFC #FCB28F #8FFCB2
tetradic
#B28FFC #FC8FA3 #D9FC8F #8FFCE9
square
#B28FFC #FC8FA3 #D9FC8F #8FFCE9
split-complementary
#B28FFC #FCE98F #A3FC8F
monochromatic
#6018F9 #8953FA #B28FFC #DBCBFE #EBE1FE

Accessibility & contrast

On white

2.55
#B28FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B28FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FFC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FFC#FFFFFF#000000##000000
##B28FFC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#A3A3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b28ffc;
/* rgb */ color: rgb(178, 143, 252);
/* oklch */ color: oklch(72.7% 0.157 297.1);
Tailwind
colors: {
  custom: {
    50: '#cbb0fe',
    500: '#b28ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b28ffc;
$custom-light: #cbb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ffc",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 259.266,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72666,
    "c": 0.15673,
    "h": 297.1
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

primary
#B28FFC
secondary
#ECF6D5
accent
#E6009C
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B28FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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