#B28EE6#B28EE6

#B28EE6 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.130 H 302.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B28EE6
RGBrgb(178, 142, 230)
HSLhsl(265, 64%, 73%)
HSVhsv(265, 38%, 90%)
CMYKcmyk(22.6%, 38.3%, 0%, 9.8%)
CIE-LABlab(65.38, 31.02, -39.63)
CIE-LCHlch(65.38, 50.32, 308.06°)
OKLaboklab(71.39% 0.069 -0.1101)
OKLCHoklch(71.39% 0.13 302.1)
XYZxyz(42.3129, 34.5241, 79.2822)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28EE6 #C2E68E
analogous
#8E96E6 #B28EE6 #DE8EE6
triadic
#B28EE6 #E6B28E #8EE6B2
tetradic
#B28EE6 #E68E96 #C2E68E #8EE6DE
square
#B28EE6 #E68E96 #C2E68E #8EE6DE
split-complementary
#B28EE6 #E6DE8E #96E68E
monochromatic
#6E2DCC #905CDB #B28EE6 #D4C0F1 #EEE6F9

Accessibility & contrast

On white

2.66
#B28EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B28EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28EE6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28EE6#FFFFFF#000000##000000
##B28EE61.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE9
Deuteranopia (green-blind)
#809EE4
Tritanopia (blue-blind)
#A99CAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28ee6;
/* rgb */ color: rgb(178, 142, 230);
/* oklch */ color: oklch(71.4% 0.130 302.1);
Tailwind
colors: {
  custom: {
    50: '#caafee',
    500: '#b28ee6',
    950: '#000000',
  },
}
SCSS
$custom: #b28ee6;
$custom-light: #caafee;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ee6",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 230
  },
  "hsl": {
    "h": 264.545,
    "s": 63.768,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.12994,
    "h": 302.1
  },
  "luminance": 0.34524
}

Semantic roles & 50–950 ramp

primary
#B28EE6
secondary
#E8F1DA
accent
#CC1A83
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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