#B291FB#B291FB

#B291FB is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.152 H 296.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B291FB
RGBrgb(178, 145, 251)
HSLhsl(259, 93%, 78%)
HSVhsv(259, 42%, 98%)
CMYKcmyk(29.1%, 42.2%, 0%, 1.6%)
CIE-LABlab(67.04, 34.35, -48.55)
CIE-LCHlch(67.04, 59.47, 305.28°)
OKLaboklab(72.96% 0.0687 -0.136)
OKLCHoklch(72.96% 0.152 296.8)
XYZxyz(45.8939, 36.6803, 95.9102)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291FB #DAFB91
analogous
#91A5FB #B291FB #E791FB
triadic
#B291FB #FBB291 #91FBB2
tetradic
#B291FB #FB91A5 #DAFB91 #91FBE7
square
#B291FB #FB91A5 #DAFB91 #91FBE7
split-complementary
#B291FB #FBE791 #A5FB91
monochromatic
#5F1BF7 #8956F9 #B291FB #DBCCFD #EAE1FE

Accessibility & contrast

On white

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

On black

8.34
#B291FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291FB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291FB#FFFFFF#000000##000000
##B291FB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#A3A4BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b291fb;
/* rgb */ color: rgb(178, 145, 251);
/* oklch */ color: oklch(73.0% 0.152 296.8);
Tailwind
colors: {
  custom: {
    50: '#cbb1fd',
    500: '#b291fb',
    950: '#000000',
  },
}
SCSS
$custom: #b291fb;
$custom-light: #cbb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b291fb",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 258.679,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72961,
    "c": 0.15237,
    "h": 296.8
  },
  "luminance": 0.36681
}

Semantic roles & 50–950 ramp

primary
#B291FB
secondary
#ECF6D5
accent
#E6009E
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B291FB

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

Preview Lab → · Contrast checker → · Palette generator →

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