#B28FF2#B28FF2

#B28FF2 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.144 H 299.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B28FF2
RGBrgb(178, 143, 242)
HSLhsl(261, 79%, 75%)
HSVhsv(261, 41%, 95%)
CMYKcmyk(26.4%, 40.9%, 0%, 5.1%)
CIE-LABlab(66.15, 33.29, -45.02)
CIE-LCHlch(66.15, 55.99, 306.48°)
OKLaboklab(72.15% 0.0699 -0.1257)
OKLCHoklch(72.15% 0.144 299.1)
XYZxyz(44.2059, 35.5204, 88.5144)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FF2 #CFF28F
analogous
#8F9DF2 #B28FF2 #E38FF2
triadic
#B28FF2 #F2B28F #8FF2B2
tetradic
#B28FF2 #F28F9D #CFF28F #8FF2E3
square
#B28FF2 #F28F9D #CFF28F #8FF2E3
split-complementary
#B28FF2 #F2E38F #9DF28F
monochromatic
#6721E5 #8C58EC #B28FF2 #D8C6F8 #ECE4FC

Accessibility & contrast

On white

2.59
#B28FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B28FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FF2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FF2#FFFFFF#000000##000000
##B28FF21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#A6A0B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b28ff2;
/* rgb */ color: rgb(178, 143, 242);
/* oklch */ color: oklch(72.2% 0.144 299.1);
Tailwind
colors: {
  custom: {
    50: '#cbb0f7',
    500: '#b28ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b28ff2;
$custom-light: #cbb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ff2",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 261.212,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72154,
    "c": 0.14383,
    "h": 299.1
  },
  "luminance": 0.35521
}

Semantic roles & 50–950 ramp

primary
#B28FF2
secondary
#EAF4D7
accent
#DB0A91
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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