#B181FD#B181FD

#B181FD is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.179 H 299.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B181FD
RGBrgb(177, 129, 253)
HSLhsl(263, 97%, 75%)
HSVhsv(263, 49%, 99%)
CMYKcmyk(30%, 49%, 0%, 0.8%)
CIE-LABlab(63.46, 43.44, -55.32)
CIE-LCHlch(63.46, 70.34, 308.14°)
OKLaboklab(70.29% 0.0887 -0.1557)
OKLCHoklch(70.29% 0.179 299.7)
XYZxyz(43.7072, 32.1392, 96.8103)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181FD #CDFD81
analogous
#818FFD #B181FD #EF81FD
triadic
#B181FD #FDB181 #81FDB1
tetradic
#B181FD #FD818F #CDFD81 #81FDEF
square
#B181FD #FD818F #CDFD81 #81FDEF
split-complementary
#B181FD #FDEF81 #8FFD81
monochromatic
#6609FB #8C45FC #B181FD #D6BDFE #ECE1FF

Accessibility & contrast

On white

2.83
#B181FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B181FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181FD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181FD#FFFFFF#000000##000000
##B181FD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#A298B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b181fd;
/* rgb */ color: rgb(177, 129, 253);
/* oklch */ color: oklch(70.3% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#cba6fe',
    500: '#b181fd',
    950: '#000000',
  },
}
SCSS
$custom: #b181fd;
$custom-light: #cba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b181fd",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 263.226,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.17922,
    "h": 299.7
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#B181FD
secondary
#E9F7D4
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B181FD

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

Preview Lab → · Contrast checker → · Palette generator →

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