#B18BFA#B18BFA

#B18BFA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.160 H 298.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B18BFA
RGBrgb(177, 139, 250)
HSLhsl(261, 92%, 76%)
HSVhsv(261, 44%, 98%)
CMYKcmyk(29.2%, 44.4%, 0%, 2%)
CIE-LABlab(65.53, 37.18, -50.40)
CIE-LCHlch(65.53, 62.63, 306.42°)
OKLaboklab(71.79% 0.0753 -0.1414)
OKLCHoklch(71.79% 0.16 298)
XYZxyz(44.6153, 34.7141, 94.7739)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BFA #D4FA8B
analogous
#8B9DFA #B18BFA #E98BFA
triadic
#B18BFA #FAB18B #8BFAB1
tetradic
#B18BFA #FA8B9D #D4FA8B #8BFAE9
square
#B18BFA #FA8B9D #D4FA8B #8BFAE9
split-complementary
#B18BFA #FAE98B #9DFA8B
monochromatic
#6216F5 #8A50F7 #B18BFA #D8C6FD #EBE2FE

Accessibility & contrast

On white

2.64
#B18BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B18BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BFA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BFA#FFFFFF#000000##000000
##B18BFA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#A29FB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18bfa;
/* rgb */ color: rgb(177, 139, 250);
/* oklch */ color: oklch(71.8% 0.160 298.0);
Tailwind
colors: {
  custom: {
    50: '#cbadfc',
    500: '#b18bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b18bfa;
$custom-light: #cbadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bfa",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 260.541,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71785,
    "c": 0.16019,
    "h": 298
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#B18BFA
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B18BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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