#B181F9#B181F9

#B181F9 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.174 H 300.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B181F9
RGBrgb(177, 129, 249)
HSLhsl(264, 91%, 74%)
HSVhsv(264, 48%, 98%)
CMYKcmyk(28.9%, 48.2%, 0%, 2.4%)
CIE-LABlab(63.25, 42.47, -53.46)
CIE-LCHlch(63.25, 68.27, 308.47°)
OKLaboklab(70.06% 0.0883 -0.1503)
OKLCHoklch(70.06% 0.174 300.4)
XYZxyz(43.0766, 31.8870, 93.4895)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F9 #C9F981
analogous
#818DF9 #B181F9 #ED81F9
triadic
#B181F9 #F9B181 #81F9B1
tetradic
#B181F9 #F9818D #C9F981 #81F9ED
square
#B181F9 #F9818D #C9F981 #81F9ED
split-complementary
#B181F9 #F9ED81 #8DF981
monochromatic
#690CF3 #8D47F6 #B181F9 #D5BBFC #EDE2FE

Accessibility & contrast

On white

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

On black

7.38
#B181F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F9#FFFFFF#000000##000000
##B181F91.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b181f9;
/* rgb */ color: rgb(177, 129, 249);
/* oklch */ color: oklch(70.1% 0.174 300.4);
Tailwind
colors: {
  custom: {
    50: '#cba6fc',
    500: '#b181f9',
    950: '#000000',
  },
}
SCSS
$custom: #b181f9;
$custom-light: #cba6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f9",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 264,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70063,
    "c": 0.1743,
    "h": 300.4
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

primary
#B181F9
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B181F9

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

Preview Lab → · Contrast checker → · Palette generator →

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