#B181E8#B181E8

#B181E8 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.153 H 304.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B181E8
RGBrgb(177, 129, 232)
HSLhsl(268, 69%, 71%)
HSVhsv(268, 44%, 91%)
CMYKcmyk(23.7%, 44.4%, 0%, 9%)
CIE-LABlab(62.40, 38.45, -45.41)
CIE-LCHlch(62.40, 59.50, 310.26°)
OKLaboklab(69.15% 0.0862 -0.1269)
OKLCHoklch(69.15% 0.153 304.2)
XYZxyz(40.5441, 30.8740, 80.1516)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181E8 #B8E881
analogous
#8184E8 #B181E8 #E481E8
triadic
#B181E8 #E8B181 #81E8B1
tetradic
#B181E8 #E88184 #B8E881 #81E8E4
square
#B181E8 #E88184 #B8E881 #81E8E4
split-complementary
#B181E8 #E8E481 #84E881
monochromatic
#7225CA #914DDF #B181E8 #D1B5F1 #EFE5FA

Accessibility & contrast

On white

2.93
#B181E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B181E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181E8#FFFFFF#000000##000000
##B181E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7197E5
Tritanopia (blue-blind)
#A892A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b181e8;
/* rgb */ color: rgb(177, 129, 232);
/* oklch */ color: oklch(69.2% 0.153 304.2);
Tailwind
colors: {
  custom: {
    50: '#caa6f0',
    500: '#b181e8',
    950: '#000000',
  },
}
SCSS
$custom: #b181e8;
$custom-light: #caa6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b181e8",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 267.961,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.15335,
    "h": 304.2
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#B181E8
secondary
#E3F0D5
accent
#D11479
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181E8

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

Preview Lab → · Contrast checker → · Palette generator →

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