#B191F8#B191F8

#B191F8 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.7% C 0.148 H 296.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B191F8
RGBrgb(177, 145, 248)
HSLhsl(259, 88%, 77%)
HSVhsv(259, 42%, 97%)
CMYKcmyk(28.6%, 41.5%, 0%, 2.7%)
CIE-LABlab(66.81, 33.34, -47.28)
CIE-LCHlch(66.81, 57.86, 305.19°)
OKLaboklab(72.72% 0.067 -0.1323)
OKLCHoklch(72.72% 0.148 296.9)
XYZxyz(45.1961, 36.3747, 93.4286)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B191F8 #D8F891
analogous
#91A5F8 #B191F8 #E591F8
triadic
#B191F8 #F8B191 #91F8B1
tetradic
#B191F8 #F891A5 #D8F891 #91F8E5
square
#B191F8 #F891A5 #D8F891 #91F8E5
split-complementary
#B191F8 #F8E591 #A5F891
monochromatic
#5F1EF1 #8857F4 #B191F8 #DACBFC #EBE2FD

Accessibility & contrast

On white

2.54
#B191F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B191F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B191F8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B191F8#FFFFFF#000000##000000
##B191F81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#A2A3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b191f8;
/* rgb */ color: rgb(177, 145, 248);
/* oklch */ color: oklch(72.7% 0.148 296.9);
Tailwind
colors: {
  custom: {
    50: '#cab1fb',
    500: '#b191f8',
    950: '#000000',
  },
}
SCSS
$custom: #b191f8;
$custom-light: #cab1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b191f8",
  "rgb": {
    "r": 177,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 258.641,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.14834,
    "h": 296.9
  },
  "luminance": 0.36375
}

Semantic roles & 50–950 ramp

primary
#B191F8
secondary
#EBF5D6
accent
#E5019E
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #B191F8

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

Preview Lab → · Contrast checker → · Palette generator →

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