#B181F7#B181F7

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

Color values

HEX#B181F7
RGBrgb(177, 129, 247)
HSLhsl(264, 88%, 74%)
HSVhsv(264, 48%, 97%)
CMYKcmyk(28.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(63.15, 41.99, -52.52)
CIE-LCHlch(63.15, 67.24, 308.64°)
OKLaboklab(69.95% 0.0881 -0.1475)
OKLCHoklch(69.95% 0.172 300.8)
XYZxyz(42.7664, 31.7629, 91.8554)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181F7 #C7F781
analogous
#818CF7 #B181F7 #EC81F7
triadic
#B181F7 #F7B181 #81F7B1
tetradic
#B181F7 #F7818C #C7F781 #81F7EC
square
#B181F7 #F7818C #C7F781 #81F7EC
split-complementary
#B181F7 #F7EC81 #8CF781
monochromatic
#6A0FEE #8D47F3 #B181F7 #D5BBFB #EDE2FD

Accessibility & contrast

On white

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

On black

7.35
#B181F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181F7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181F7#FFFFFF#000000##000000
##B181F71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#A496B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181f7;
/* rgb */ color: rgb(177, 129, 247);
/* oklch */ color: oklch(70.0% 0.172 300.8);
Tailwind
colors: {
  custom: {
    50: '#cba6fa',
    500: '#b181f7',
    950: '#000000',
  },
}
SCSS
$custom: #b181f7;
$custom-light: #cba6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b181f7",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 264.407,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.17184,
    "h": 300.8
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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