#B181FB#B181FB

#B181FB is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.177 H 300.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B181FB
RGBrgb(177, 129, 251)
HSLhsl(264, 94%, 75%)
HSVhsv(264, 49%, 98%)
CMYKcmyk(29.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(63.35, 42.95, -54.39)
CIE-LCHlch(63.35, 69.31, 308.30°)
OKLaboklab(70.17% 0.0885 -0.153)
OKLCHoklch(70.17% 0.177 300)
XYZxyz(43.3902, 32.0124, 95.1411)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181FB #CBFB81
analogous
#818EFB #B181FB #EE81FB
triadic
#B181FB #FBB181 #81FBB1
tetradic
#B181FB #FB818E #CBFB81 #81FBEE
square
#B181FB #FB818E #CBFB81 #81FBEE
split-complementary
#B181FB #FBEE81 #8EFB81
monochromatic
#680AF7 #8C46F9 #B181FB #D6BCFD #EDE1FE

Accessibility & contrast

On white

2.84
#B181FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B181FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181FB#FFFFFF#000000##000000
##B181FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#A298B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181fb;
/* rgb */ color: rgb(177, 129, 251);
/* oklch */ color: oklch(70.2% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#cba6fd',
    500: '#b181fb',
    950: '#000000',
  },
}
SCSS
$custom: #b181fb;
$custom-light: #cba6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b181fb",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 263.607,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.17676,
    "h": 300
  },
  "luminance": 0.32013
}

Semantic roles & 50–950 ramp

primary
#B181FB
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B181FB

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

Preview Lab → · Contrast checker → · Palette generator →

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