#B181EF#B181EF

#B181EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.5% C 0.162 H 302.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B181EF
RGBrgb(177, 129, 239)
HSLhsl(266, 77%, 72%)
HSVhsv(266, 46%, 94%)
CMYKcmyk(25.9%, 46%, 0%, 6.3%)
CIE-LABlab(62.74, 40.09, -48.75)
CIE-LCHlch(62.74, 63.11, 309.43°)
OKLaboklab(69.52% 0.0871 -0.1366)
OKLCHoklch(69.52% 0.162 302.5)
XYZxyz(41.5583, 31.2796, 85.4928)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181EF #BFEF81
analogous
#8188EF #B181EF #E881EF
triadic
#B181EF #EFB181 #81EFB1
tetradic
#B181EF #EF8188 #BFEF81 #81EFE8
square
#B181EF #EF8188 #BFEF81 #81EFE8
split-complementary
#B181EF #EFE881 #88EF81
monochromatic
#6F1CDA #8F4BE8 #B181EF #D3B7F6 #EEE4FC

Accessibility & contrast

On white

2.89
#B181EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B181EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181EF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181EF#FFFFFF#000000##000000
##B181EF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#A694AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b181ef;
/* rgb */ color: rgb(177, 129, 239);
/* oklch */ color: oklch(69.5% 0.162 302.5);
Tailwind
colors: {
  custom: {
    50: '#cba6f5',
    500: '#b181ef',
    950: '#000000',
  },
}
SCSS
$custom: #b181ef;
$custom-light: #cba6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b181ef",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 266.182,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.16199,
    "h": 302.5
  },
  "luminance": 0.3128
}

Semantic roles & 50–950 ramp

primary
#B181EF
secondary
#E7F3D8
accent
#DA0C80
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #B181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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