#B181F6#B181F6

#B181F6 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.171 H 301.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B181F6
RGBrgb(177, 129, 246)
HSLhsl(265, 87%, 74%)
HSVhsv(265, 48%, 96%)
CMYKcmyk(28%, 47.6%, 0%, 3.5%)
CIE-LABlab(63.10, 41.75, -52.05)
CIE-LCHlch(63.10, 66.73, 308.74°)
OKLaboklab(69.9% 0.088 -0.1462)
OKLCHoklch(69.9% 0.171 301)
XYZxyz(42.6125, 31.7013, 91.0449)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F6 #C6F681
analogous
#818BF6 #B181F6 #EB81F6
triadic
#B181F6 #F6B181 #81F6B1
tetradic
#B181F6 #F6818B #C6F681 #81F6EB
square
#B181F6 #F6818B #C6F681 #81F6EB
split-complementary
#B181F6 #F6EB81 #8BF681
monochromatic
#6B11EC #8E48F2 #B181F6 #D4BAFA #EDE2FD

Accessibility & contrast

On white

2.86
#B181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B181F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F6#FFFFFF#000000##000000
##B181F61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#A496B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181f6;
/* rgb */ color: rgb(177, 129, 246);
/* oklch */ color: oklch(69.9% 0.171 301.0);
Tailwind
colors: {
  custom: {
    50: '#cba6fa',
    500: '#b181f6',
    950: '#000000',
  },
}
SCSS
$custom: #b181f6;
$custom-light: #cba6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f6",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 264.615,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69898,
    "c": 0.17061,
    "h": 301
  },
  "luminance": 0.31701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B181F6

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

Preview Lab → · Contrast checker → · Palette generator →

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