#B181F8#B181F8

#B181F8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.173 H 300.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B181F8
RGBrgb(177, 129, 248)
HSLhsl(264, 89%, 74%)
HSVhsv(264, 48%, 97%)
CMYKcmyk(28.6%, 48%, 0%, 2.7%)
CIE-LABlab(63.20, 42.23, -52.99)
CIE-LCHlch(63.20, 67.76, 308.56°)
OKLaboklab(70.01% 0.0882 -0.1489)
OKLCHoklch(70.01% 0.173 300.6)
XYZxyz(42.9211, 31.8247, 92.6703)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F8 #C8F881
analogous
#818DF8 #B181F8 #ED81F8
triadic
#B181F8 #F8B181 #81F8B1
tetradic
#B181F8 #F8818D #C8F881 #81F8ED
square
#B181F8 #F8818D #C8F881 #81F8ED
split-complementary
#B181F8 #F8ED81 #8DF881
monochromatic
#690DF1 #8D47F5 #B181F8 #D5BBFB #EDE2FD

Accessibility & contrast

On white

2.85
#B181F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B181F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F8#FFFFFF#000000##000000
##B181F81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#A397B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181f8;
/* rgb */ color: rgb(177, 129, 248);
/* oklch */ color: oklch(70.0% 0.173 300.6);
Tailwind
colors: {
  custom: {
    50: '#cba6fb',
    500: '#b181f8',
    950: '#000000',
  },
}
SCSS
$custom: #b181f8;
$custom-light: #cba6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f8",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 264.202,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.17307,
    "h": 300.6
  },
  "luminance": 0.31825
}

Semantic roles & 50–950 ramp

primary
#B181F8
secondary
#E9F5D6
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B181F8

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

Preview Lab → · Contrast checker → · Palette generator →

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