#B181E9#B181E9

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

Color values

HEX#B181E9
RGBrgb(177, 129, 233)
HSLhsl(268, 70%, 71%)
HSVhsv(268, 45%, 91%)
CMYKcmyk(24%, 44.6%, 0%, 8.6%)
CIE-LABlab(62.45, 38.68, -45.89)
CIE-LCHlch(62.45, 60.02, 310.13°)
OKLaboklab(69.2% 0.0863 -0.1282)
OKLCHoklch(69.2% 0.155 303.9)
XYZxyz(40.6866, 30.9309, 80.9018)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181E9 #B9E981
analogous
#8185E9 #B181E9 #E581E9
triadic
#B181E9 #E9B181 #81E9B1
tetradic
#B181E9 #E98185 #B9E981 #81E9E5
square
#B181E9 #E98185 #B9E981 #81E9E5
split-complementary
#B181E9 #E9E581 #85E981
monochromatic
#7124CC #914DE0 #B181E9 #D1B5F2 #EFE5FA

Accessibility & contrast

On white

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

On black

7.19
#B181E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181E9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181E9#FFFFFF#000000##000000
##B181E91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596ED
Deuteranopia (green-blind)
#7197E6
Tritanopia (blue-blind)
#A893AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b181e9;
/* rgb */ color: rgb(177, 129, 233);
/* oklch */ color: oklch(69.2% 0.155 303.9);
Tailwind
colors: {
  custom: {
    50: '#caa6f0',
    500: '#b181e9',
    950: '#000000',
  },
}
SCSS
$custom: #b181e9;
$custom-light: #caa6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b181e9",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 267.692,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69204,
    "c": 0.15458,
    "h": 303.9
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#B181E9
secondary
#E4F1D5
accent
#D2137A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181E9

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

Preview Lab → · Contrast checker → · Palette generator →

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