#B181EB#B181EB

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

Color values

HEX#B181EB
RGBrgb(177, 129, 235)
HSLhsl(267, 73%, 71%)
HSVhsv(267, 45%, 92%)
CMYKcmyk(24.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(62.55, 39.15, -46.84)
CIE-LCHlch(62.55, 61.05, 309.89°)
OKLaboklab(69.31% 0.0866 -0.131)
OKLCHoklch(69.31% 0.157 303.5)
XYZxyz(40.9739, 31.0459, 82.4150)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181EB #BBEB81
analogous
#8186EB #B181EB #E681EB
triadic
#B181EB #EBB181 #81EBB1
tetradic
#B181EB #EB8186 #BBEB81 #81EBE6
square
#B181EB #EB8186 #BBEB81 #81EBE6
split-complementary
#B181EB #EBE681 #86EB81
monochromatic
#7121D1 #904CE3 #B181EB #D2B6F3 #EFE5FB

Accessibility & contrast

On white

2.91
#B181EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B181EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181EB#FFFFFF#000000##000000
##B181EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#A793AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b181eb;
/* rgb */ color: rgb(177, 129, 235);
/* oklch */ color: oklch(69.3% 0.157 303.5);
Tailwind
colors: {
  custom: {
    50: '#caa6f2',
    500: '#b181eb',
    950: '#000000',
  },
}
SCSS
$custom: #b181eb;
$custom-light: #caa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b181eb",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 267.17,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69308,
    "c": 0.15704,
    "h": 303.5
  },
  "luminance": 0.31046
}

Semantic roles & 50–950 ramp

primary
#B181EB
secondary
#E5F2D6
accent
#D5117C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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