#B181FC#B181FC

#B181FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.178 H 299.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B181FC
RGBrgb(177, 129, 252)
HSLhsl(263, 95%, 75%)
HSVhsv(263, 49%, 99%)
CMYKcmyk(29.8%, 48.8%, 0%, 1.2%)
CIE-LABlab(63.41, 43.20, -54.86)
CIE-LCHlch(63.41, 69.82, 308.22°)
OKLaboklab(70.23% 0.0886 -0.1544)
OKLCHoklch(70.23% 0.178 299.8)
XYZxyz(43.5483, 32.0756, 95.9735)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B181FC #CCFC81
analogous
#818EFC #B181FC #EF81FC
triadic
#B181FC #FCB181 #81FCB1
tetradic
#B181FC #FC818E #CCFC81 #81FCEF
square
#B181FC #FC818E #CCFC81 #81FCEF
split-complementary
#B181FC #FCEF81 #8EFC81
monochromatic
#6709F9 #8C45FB #B181FC #D6BDFD #ECE1FE

Accessibility & contrast

On white

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

On black

7.42
#B181FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B181FC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B181FC#FFFFFF#000000##000000
##B181FC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#A298B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b181fc;
/* rgb */ color: rgb(177, 129, 252);
/* oklch */ color: oklch(70.2% 0.178 299.8);
Tailwind
colors: {
  custom: {
    50: '#cba6fe',
    500: '#b181fc',
    950: '#000000',
  },
}
SCSS
$custom: #b181fc;
$custom-light: #cba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b181fc",
  "rgb": {
    "r": 177,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 263.415,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.17799,
    "h": 299.8
  },
  "luminance": 0.32076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B181FC

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

Preview Lab → · Contrast checker → · Palette generator →

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