#B28FFD#B28FFD

#B28FFD is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.7% C 0.158 H 297.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B28FFD
RGBrgb(178, 143, 253)
HSLhsl(259, 96%, 78%)
HSVhsv(259, 43%, 99%)
CMYKcmyk(29.6%, 43.5%, 0%, 0.8%)
CIE-LABlab(66.67, 35.95, -50.22)
CIE-LCHlch(66.67, 61.76, 305.60°)
OKLaboklab(72.72% 0.0717 -0.1408)
OKLCHoklch(72.72% 0.158 297)
XYZxyz(45.9079, 36.2012, 97.4784)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FFD #DAFD8F
analogous
#8FA3FD #B28FFD #E98FFD
triadic
#B28FFD #FDB28F #8FFDB2
tetradic
#B28FFD #FD8FA3 #DAFD8F #8FFDE9
square
#B28FFD #FD8FA3 #DAFD8F #8FFDE9
split-complementary
#B28FFD #FDE98F #A3FD8F
monochromatic
#5F17FB #8953FC #B28FFD #DBCBFE #EAE1FE

Accessibility & contrast

On white

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

On black

8.24
#B28FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FFD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FFD#FFFFFF#000000##000000
##B28FFD1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#A2A3BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b28ffd;
/* rgb */ color: rgb(178, 143, 253);
/* oklch */ color: oklch(72.7% 0.158 297.0);
Tailwind
colors: {
  custom: {
    50: '#cbb0fe',
    500: '#b28ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b28ffd;
$custom-light: #cbb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ffd",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 259.091,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.15802,
    "h": 297
  },
  "luminance": 0.36202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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