#B291F9#B291F9

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

Color values

HEX#B291F9
RGBrgb(178, 145, 249)
HSLhsl(259, 90%, 77%)
HSVhsv(259, 42%, 98%)
CMYKcmyk(28.5%, 41.8%, 0%, 2.4%)
CIE-LABlab(66.94, 33.86, -47.61)
CIE-LCHlch(66.94, 58.42, 305.42°)
OKLaboklab(72.86% 0.0684 -0.1332)
OKLCHoklch(72.86% 0.15 297.2)
XYZxyz(45.5803, 36.5549, 94.2586)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B291F9 #D8F991
analogous
#91A4F9 #B291F9 #E691F9
triadic
#B291F9 #F9B291 #91F9B2
tetradic
#B291F9 #F991A4 #D8F991 #91F9E6
square
#B291F9 #F991A4 #D8F991 #91F9E6
split-complementary
#B291F9 #F9E691 #A4F991
monochromatic
#611DF3 #8957F6 #B291F9 #DBCBFC #EBE2FD

Accessibility & contrast

On white

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

On black

8.31
#B291F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B291F9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B291F9#FFFFFF#000000##000000
##B291F91.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#A3A3B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b291f9;
/* rgb */ color: rgb(178, 145, 249);
/* oklch */ color: oklch(72.9% 0.150 297.2);
Tailwind
colors: {
  custom: {
    50: '#cbb1fb',
    500: '#b291f9',
    950: '#000000',
  },
}
SCSS
$custom: #b291f9;
$custom-light: #cbb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b291f9",
  "rgb": {
    "r": 178,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 259.038,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72858,
    "c": 0.14977,
    "h": 297.2
  },
  "luminance": 0.36555
}

Semantic roles & 50–950 ramp

primary
#B291F9
secondary
#EBF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #B291F9

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

Preview Lab → · Contrast checker → · Palette generator →

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