#B191EF#B191EF

#B191EF is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.3% C 0.137 H 298.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B191EF
RGBrgb(177, 145, 239)
HSLhsl(260, 75%, 75%)
HSVhsv(260, 39%, 94%)
CMYKcmyk(25.9%, 39.3%, 0%, 6.3%)
CIE-LABlab(66.39, 31.17, -43.00)
CIE-LCHlch(66.39, 53.11, 305.94°)
OKLaboklab(72.27% 0.0654 -0.1199)
OKLCHoklch(72.27% 0.137 298.6)
XYZxyz(43.8333, 35.8296, 86.2511)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B191EF #CFEF91
analogous
#91A0EF #B191EF #E091EF
triadic
#B191EF #EFB191 #91EFB1
tetradic
#B191EF #EF91A0 #CFEF91 #91EFE0
square
#B191EF #EF91A0 #CFEF91 #91EFE0
split-complementary
#B191EF #EFE091 #A0EF91
monochromatic
#6526DF #8B5CE7 #B191EF #D7C6F7 #ECE4FB

Accessibility & contrast

On white

2.57
#B191EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B191EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B191EF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B191EF#FFFFFF#000000##000000
##B191EF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#A5A1B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b191ef;
/* rgb */ color: rgb(177, 145, 239);
/* oklch */ color: oklch(72.3% 0.137 298.6);
Tailwind
colors: {
  custom: {
    50: '#cab1f4',
    500: '#b191ef',
    950: '#000000',
  },
}
SCSS
$custom: #b191ef;
$custom-light: #cab1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b191ef",
  "rgb": {
    "r": 177,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 260.426,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72268,
    "c": 0.1366,
    "h": 298.6
  },
  "luminance": 0.3583
}

Semantic roles & 50–950 ramp

primary
#B191EF
secondary
#EAF3D8
accent
#D70F93
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B191EF

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

Preview Lab → · Contrast checker → · Palette generator →

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