#B28FF0#B28FF0

#B28FF0 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.141 H 299.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B28FF0
RGBrgb(178, 143, 240)
HSLhsl(262, 76%, 75%)
HSVhsv(262, 40%, 94%)
CMYKcmyk(25.8%, 40.4%, 0%, 5.9%)
CIE-LABlab(66.06, 32.81, -44.06)
CIE-LCHlch(66.06, 54.94, 306.67°)
OKLaboklab(72.05% 0.0695 -0.123)
OKLCHoklch(72.05% 0.141 299.5)
XYZxyz(43.9071, 35.4009, 86.9411)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FF0 #CDF08F
analogous
#8F9DF0 #B28FF0 #E28FF0
triadic
#B28FF0 #F0B28F #8FF0B2
tetradic
#B28FF0 #F08F9D #CDF08F #8FF0E2
square
#B28FF0 #F08F9D #CDF08F #8FF0E2
split-complementary
#B28FF0 #F0E28F #9DF08F
monochromatic
#6823E2 #8D59E9 #B28FF0 #D7C5F7 #ECE4FB

Accessibility & contrast

On white

2.60
#B28FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B28FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FF0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FF0#FFFFFF#000000##000000
##B28FF01.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#A6A0B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b28ff0;
/* rgb */ color: rgb(178, 143, 240);
/* oklch */ color: oklch(72.1% 0.141 299.5);
Tailwind
colors: {
  custom: {
    50: '#cbb0f5',
    500: '#b28ff0',
    950: '#000000',
  },
}
SCSS
$custom: #b28ff0;
$custom-light: #cbb0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ff0",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 261.649,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72054,
    "c": 0.14125,
    "h": 299.5
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#B28FF0
secondary
#E9F3D8
accent
#D90D8F
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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