#B291F8#B291F8

#B291F8 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.8% C 0.148 H 297.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B291F8
RGBrgb(178, 145, 248)
HSLhsl(259, 88%, 77%)
HSVhsv(259, 42%, 97%)
CMYKcmyk(28.2%, 41.5%, 0%, 2.7%)
CIE-LABlab(66.89, 33.62, -47.14)
CIE-LCHlch(66.89, 57.90, 305.49°)
OKLaboklab(72.81% 0.0682 -0.1319)
OKLCHoklch(72.81% 0.148 297.3)
XYZxyz(45.4247, 36.4926, 93.4393)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291F8 #D7F891
analogous
#91A4F8 #B291F8 #E591F8
triadic
#B291F8 #F8B291 #91F8B2
tetradic
#B291F8 #F891A4 #D7F891 #91F8E5
square
#B291F8 #F891A4 #D7F891 #91F8E5
split-complementary
#B291F8 #F8E591 #A4F891
monochromatic
#611EF1 #8A57F4 #B291F8 #DACBFC #EBE2FD

Accessibility & contrast

On white

2.53
#B291F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B291F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291F8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291F8#FFFFFF#000000##000000
##B291F81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#A4A3B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b291f8;
/* rgb */ color: rgb(178, 145, 248);
/* oklch */ color: oklch(72.8% 0.148 297.3);
Tailwind
colors: {
  custom: {
    50: '#cbb1fb',
    500: '#b291f8',
    950: '#000000',
  },
}
SCSS
$custom: #b291f8;
$custom-light: #cbb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b291f8",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 259.223,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72807,
    "c": 0.14847,
    "h": 297.3
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#B291F8
secondary
#EBF5D6
accent
#E5019C
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #B291F8

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

Preview Lab → · Contrast checker → · Palette generator →

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