#B181E1#B181E1

#B181E1 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.145 H 306.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B181E1
RGBrgb(177, 129, 225)
HSLhsl(270, 62%, 69%)
HSVhsv(270, 43%, 88%)
CMYKcmyk(21.3%, 42.7%, 0%, 11.8%)
CIE-LABlab(62.07, 36.84, -42.04)
CIE-LCHlch(62.07, 55.90, 311.23°)
OKLaboklab(68.8% 0.085 -0.1171)
OKLCHoklch(68.8% 0.145 306)
XYZxyz(39.5696, 30.4841, 75.0190)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181E1 #B1E181
analogous
#8181E1 #B181E1 #E181E1
triadic
#B181E1 #E1B181 #81E1B1
tetradic
#B181E1 #E18181 #B1E181 #81E1E1
square
#B181E1 #E18181 #B1E181 #81E1E1
split-complementary
#B181E1 #E1E181 #81E181
monochromatic
#742DBB #9250D5 #B181E1 #D0B2ED #EEE4F9

Accessibility & contrast

On white

2.96
#B181E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B181E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181E1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181E1#FFFFFF#000000##000000
##B181E11.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E5
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#AA90A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b181e1;
/* rgb */ color: rgb(177, 129, 225);
/* oklch */ color: oklch(68.8% 0.145 306.0);
Tailwind
colors: {
  custom: {
    50: '#caa6eb',
    500: '#b181e1',
    950: '#000000',
  },
}
SCSS
$custom: #b181e1;
$custom-light: #caa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b181e1",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 61.538,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.14471,
    "h": 306
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#B181E1
secondary
#DFEDD1
accent
#C91C73
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B181E1

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

Preview Lab → · Contrast checker → · Palette generator →

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