#B181EE#B181EE

#B181EE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.161 H 302.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B181EE
RGBrgb(177, 129, 238)
HSLhsl(266, 76%, 72%)
HSVhsv(266, 46%, 93%)
CMYKcmyk(25.6%, 45.8%, 0%, 6.7%)
CIE-LABlab(62.69, 39.85, -48.27)
CIE-LCHlch(62.69, 62.60, 309.54°)
OKLaboklab(69.47% 0.087 -0.1352)
OKLCHoklch(69.47% 0.161 302.8)
XYZxyz(41.4109, 31.2207, 84.7169)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181EE #BEEE81
analogous
#8188EE #B181EE #E881EE
triadic
#B181EE #EEB181 #81EEB1
tetradic
#B181EE #EE8188 #BEEE81 #81EEE8
square
#B181EE #EE8188 #BEEE81 #81EEE8
split-complementary
#B181EE #EEE881 #88EE81
monochromatic
#6F1DD8 #904BE7 #B181EE #D2B7F5 #EEE4FB

Accessibility & contrast

On white

2.90
#B181EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B181EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181EE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181EE#FFFFFF#000000##000000
##B181EE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#A694AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b181ee;
/* rgb */ color: rgb(177, 129, 238);
/* oklch */ color: oklch(69.5% 0.161 302.8);
Tailwind
colors: {
  custom: {
    50: '#caa6f4',
    500: '#b181ee',
    950: '#000000',
  },
}
SCSS
$custom: #b181ee;
$custom-light: #caa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b181ee",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 266.422,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69467,
    "c": 0.16074,
    "h": 302.8
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#B181EE
secondary
#E7F3D8
accent
#D80D7F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B181EE

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

Preview Lab → · Contrast checker → · Palette generator →

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