#B291FA#B291FA

#B291FA is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.9% C 0.151 H 297.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B291FA
RGBrgb(178, 145, 250)
HSLhsl(259, 91%, 77%)
HSVhsv(259, 42%, 98%)
CMYKcmyk(28.8%, 42%, 0%, 2%)
CIE-LABlab(66.99, 34.10, -48.08)
CIE-LCHlch(66.99, 58.95, 305.35°)
OKLaboklab(72.91% 0.0685 -0.1346)
OKLCHoklch(72.91% 0.151 297)
XYZxyz(45.7367, 36.6174, 95.0822)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291FA #D9FA91
analogous
#91A5FA #B291FA #E691FA
triadic
#B291FA #FAB291 #91FAB2
tetradic
#B291FA #FA91A5 #D9FA91 #91FAE6
square
#B291FA #FA91A5 #D9FA91 #91FAE6
split-complementary
#B291FA #FAE691 #A5FA91
monochromatic
#601CF5 #8956F7 #B291FA #DBCCFD #EBE2FE

Accessibility & contrast

On white

2.52
#B291FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B291FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291FA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291FA#FFFFFF#000000##000000
##B291FA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FE
Deuteranopia (green-blind)
#78A2F7
Tritanopia (blue-blind)
#A3A4BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b291fa;
/* rgb */ color: rgb(178, 145, 250);
/* oklch */ color: oklch(72.9% 0.151 297.0);
Tailwind
colors: {
  custom: {
    50: '#cbb1fc',
    500: '#b291fa',
    950: '#000000',
  },
}
SCSS
$custom: #b291fa;
$custom-light: #cbb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b291fa",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 258.857,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.15107,
    "h": 297
  },
  "luminance": 0.36618
}

Semantic roles & 50–950 ramp

primary
#B291FA
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #B291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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