#B291EE#B291EE

#B291EE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.3% C 0.135 H 299.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B291EE
RGBrgb(178, 145, 238)
HSLhsl(261, 73%, 75%)
HSVhsv(261, 39%, 93%)
CMYKcmyk(25.2%, 39.1%, 0%, 6.7%)
CIE-LABlab(66.43, 31.22, -42.38)
CIE-LCHlch(66.43, 52.63, 306.38°)
OKLaboklab(72.31% 0.0664 -0.1181)
OKLCHoklch(72.31% 0.135 299.3)
XYZxyz(43.9146, 35.8886, 85.4860)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291EE #CDEE91
analogous
#919FEE #B291EE #E091EE
triadic
#B291EE #EEB291 #91EEB2
tetradic
#B291EE #EE919F #CDEE91 #91EEE0
square
#B291EE #EE919F #CDEE91 #91EEE0
split-complementary
#B291EE #EEE091 #9FEE91
monochromatic
#6827DE #8D5CE6 #B291EE #D7C6F6 #ECE4FB

Accessibility & contrast

On white

2.57
#B291EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B291EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291EE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291EE#FFFFFF#000000##000000
##B291EE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#A7A1B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b291ee;
/* rgb */ color: rgb(178, 145, 238);
/* oklch */ color: oklch(72.3% 0.135 299.3);
Tailwind
colors: {
  custom: {
    50: '#cbb1f4',
    500: '#b291ee',
    950: '#000000',
  },
}
SCSS
$custom: #b291ee;
$custom-light: #cbb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b291ee",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 261.29,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72309,
    "c": 0.13546,
    "h": 299.3
  },
  "luminance": 0.35889
}

Semantic roles & 50–950 ramp

primary
#B291EE
secondary
#E9F3D8
accent
#D5108F
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #B291EE

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

Preview Lab → · Contrast checker → · Palette generator →

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