#B291EA#B291EA

#B291EA is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.1% C 0.130 H 300.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B291EA
RGBrgb(178, 145, 234)
HSLhsl(262, 68%, 74%)
HSVhsv(262, 38%, 92%)
CMYKcmyk(23.9%, 38%, 0%, 8.2%)
CIE-LABlab(66.26, 30.27, -40.45)
CIE-LCHlch(66.26, 50.53, 306.81°)
OKLaboklab(72.11% 0.0656 -0.1125)
OKLCHoklch(72.11% 0.13 300.2)
XYZxyz(43.3335, 35.6561, 82.4253)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291EA #C9EA91
analogous
#919DEA #B291EA #DF91EA
triadic
#B291EA #EAB291 #91EAB2
tetradic
#B291EA #EA919D #C9EA91 #91EADF
square
#B291EA #EA919D #C9EA91 #91EADF
split-complementary
#B291EA #EADF91 #9DEA91
monochromatic
#6A2AD6 #8E5EE0 #B291EA #D6C4F4 #EDE5FA

Accessibility & contrast

On white

2.58
#B291EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B291EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291EA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291EA#FFFFFF#000000##000000
##B291EA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#A8A0B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b291ea;
/* rgb */ color: rgb(178, 145, 234);
/* oklch */ color: oklch(72.1% 0.130 300.2);
Tailwind
colors: {
  custom: {
    50: '#cab1f1',
    500: '#b291ea',
    950: '#000000',
  },
}
SCSS
$custom: #b291ea;
$custom-light: #cab1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b291ea",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 262.247,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72115,
    "c": 0.13025,
    "h": 300.2
  },
  "luminance": 0.35656
}

Semantic roles & 50–950 ramp

primary
#B291EA
secondary
#E9F2D9
accent
#D0168B
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B291EA

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

Preview Lab → · Contrast checker → · Palette generator →

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