#B181EA#B181EA

#B181EA is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.156 H 303.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B181EA
RGBrgb(177, 129, 234)
HSLhsl(267, 71%, 71%)
HSVhsv(267, 45%, 92%)
CMYKcmyk(24.4%, 44.9%, 0%, 8.2%)
CIE-LABlab(62.50, 38.92, -46.37)
CIE-LCHlch(62.50, 60.53, 310.01°)
OKLaboklab(69.26% 0.0864 -0.1296)
OKLCHoklch(69.26% 0.156 303.7)
XYZxyz(40.8298, 30.9882, 81.6563)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181EA #BAEA81
analogous
#8185EA #B181EA #E681EA
triadic
#B181EA #EAB181 #81EAB1
tetradic
#B181EA #EA8185 #BAEA81 #81EAE6
square
#B181EA #EA8185 #BAEA81 #81EAE6
split-complementary
#B181EA #EAE681 #85EA81
monochromatic
#7122CE #914DE1 #B181EA #D1B5F3 #EFE5FB

Accessibility & contrast

On white

2.92
#B181EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B181EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181EA#FFFFFF#000000##000000
##B181EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#A793AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b181ea;
/* rgb */ color: rgb(177, 129, 234);
/* oklch */ color: oklch(69.3% 0.156 303.7);
Tailwind
colors: {
  custom: {
    50: '#caa6f1',
    500: '#b181ea',
    950: '#000000',
  },
}
SCSS
$custom: #b181ea;
$custom-light: #caa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b181ea",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 267.429,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.15581,
    "h": 303.7
  },
  "luminance": 0.30988
}

Semantic roles & 50–950 ramp

primary
#B181EA
secondary
#E5F1D6
accent
#D3127B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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