#B181F3#B181F3

#B181F3 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.167 H 301.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B181F3
RGBrgb(177, 129, 243)
HSLhsl(265, 83%, 73%)
HSVhsv(265, 47%, 95%)
CMYKcmyk(27.2%, 46.9%, 0%, 4.7%)
CIE-LABlab(62.94, 41.04, -50.64)
CIE-LCHlch(62.94, 65.18, 309.02°)
OKLaboklab(69.74% 0.0876 -0.1421)
OKLCHoklch(69.74% 0.167 301.7)
XYZxyz(42.1557, 31.5186, 88.6394)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F3 #C3F381
analogous
#818AF3 #B181F3 #EA81F3
triadic
#B181F3 #F3B181 #81F3B1
tetradic
#B181F3 #F3818A #C3F381 #81F3EA
square
#B181F3 #F3818A #C3F381 #81F3EA
split-complementary
#B181F3 #F3EA81 #8AF381
monochromatic
#6D16E4 #8E49EE #B181F3 #D4B9F8 #EEE3FC

Accessibility & contrast

On white

2.88
#B181F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B181F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F3#FFFFFF#000000##000000
##B181F31.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#A595AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b181f3;
/* rgb */ color: rgb(177, 129, 243);
/* oklch */ color: oklch(69.7% 0.167 301.7);
Tailwind
colors: {
  custom: {
    50: '#cba6f7',
    500: '#b181f3',
    950: '#000000',
  },
}
SCSS
$custom: #b181f3;
$custom-light: #cba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f3",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 265.263,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.16692,
    "h": 301.7
  },
  "luminance": 0.31519
}

Semantic roles & 50–950 ramp

primary
#B181F3
secondary
#E8F4D7
accent
#DF0684
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B181F3

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

Preview Lab → · Contrast checker → · Palette generator →

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