#B181F5#B181F5

#B181F5 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.169 H 301.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B181F5
RGBrgb(177, 129, 245)
HSLhsl(265, 85%, 73%)
HSVhsv(265, 47%, 96%)
CMYKcmyk(27.8%, 47.3%, 0%, 3.9%)
CIE-LABlab(63.04, 41.51, -51.58)
CIE-LCHlch(63.04, 66.21, 308.83°)
OKLaboklab(69.84% 0.0879 -0.1448)
OKLCHoklch(69.84% 0.169 301.2)
XYZxyz(42.4594, 31.6401, 90.2387)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F5 #C5F581
analogous
#818BF5 #B181F5 #EB81F5
triadic
#B181F5 #F5B181 #81F5B1
tetradic
#B181F5 #F5818B #C5F581 #81F5EB
square
#B181F5 #F5818B #C5F581 #81F5EB
split-complementary
#B181F5 #F5EB81 #8BF581
monochromatic
#6B13E9 #8E48F0 #B181F5 #D4BAF9 #EDE3FD

Accessibility & contrast

On white

2.87
#B181F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B181F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F5#FFFFFF#000000##000000
##B181F51.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#A496AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181f5;
/* rgb */ color: rgb(177, 129, 245);
/* oklch */ color: oklch(69.8% 0.169 301.2);
Tailwind
colors: {
  custom: {
    50: '#cba6f9',
    500: '#b181f5',
    950: '#000000',
  },
}
SCSS
$custom: #b181f5;
$custom-light: #cba6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f5",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 264.828,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69843,
    "c": 0.16938,
    "h": 301.2
  },
  "luminance": 0.3164
}

Semantic roles & 50–950 ramp

primary
#B181F5
secondary
#E8F5D6
accent
#E20486
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B181F5

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

Preview Lab → · Contrast checker → · Palette generator →

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