#B191EC#B191EC

#B191EC is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.1% C 0.133 H 299.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B191EC
RGBrgb(177, 145, 236)
HSLhsl(261, 71%, 75%)
HSVhsv(261, 39%, 93%)
CMYKcmyk(25%, 38.6%, 0%, 7.5%)
CIE-LABlab(66.25, 30.46, -41.57)
CIE-LCHlch(66.25, 51.53, 306.23°)
OKLaboklab(72.12% 0.0648 -0.1158)
OKLCHoklch(72.12% 0.133 299.3)
XYZxyz(43.3937, 35.6538, 83.9363)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B191EC #CCEC91
analogous
#919FEC #B191EC #DF91EC
triadic
#B191EC #ECB191 #91ECB1
tetradic
#B191EC #EC919F #CCEC91 #91ECDF
square
#B191EC #EC919F #CCEC91 #91ECDF
split-complementary
#B191EC #ECDF91 #9FEC91
monochromatic
#6729DA #8C5DE3 #B191EC #D6C5F5 #ECE5FA

Accessibility & contrast

On white

2.58
#B191EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B191EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B191EC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B191EC#FFFFFF#000000##000000
##B191EC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#A6A0B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b191ec;
/* rgb */ color: rgb(177, 145, 236);
/* oklch */ color: oklch(72.1% 0.133 299.3);
Tailwind
colors: {
  custom: {
    50: '#cab1f2',
    500: '#b191ec',
    950: '#000000',
  },
}
SCSS
$custom: #b191ec;
$custom-light: #cab1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b191ec",
  "rgb": {
    "r": 177,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 261.099,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72121,
    "c": 0.13268,
    "h": 299.3
  },
  "luminance": 0.35654
}

Semantic roles & 50–950 ramp

primary
#B191EC
secondary
#E9F2D9
accent
#D3138F
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B191EC

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

Preview Lab → · Contrast checker → · Palette generator →

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