#B18BFC#B18BFC

#B18BFC is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.9% C 0.163 H 297.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B18BFC
RGBrgb(177, 139, 252)
HSLhsl(260, 95%, 77%)
HSVhsv(260, 45%, 99%)
CMYKcmyk(29.8%, 44.8%, 0%, 1.2%)
CIE-LABlab(65.62, 37.67, -51.34)
CIE-LCHlch(65.62, 63.67, 306.27°)
OKLaboklab(71.89% 0.0756 -0.1441)
OKLCHoklch(71.89% 0.163 297.7)
XYZxyz(44.9305, 34.8402, 96.4343)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BFC #D6FC8B
analogous
#8B9EFC #B18BFC #EA8BFC
triadic
#B18BFC #FCB18B #8BFCB1
tetradic
#B18BFC #FC8B9E #D6FC8B #8BFCEA
square
#B18BFC #FC8B9E #D6FC8B #8BFCEA
split-complementary
#B18BFC #FCEA8B #9EFC8B
monochromatic
#6114F9 #894FFA #B18BFC #D9C7FE #EBE1FE

Accessibility & contrast

On white

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

On black

7.97
#B18BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BFC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BFC#FFFFFF#000000##000000
##B18BFC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#A1A0B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18bfc;
/* rgb */ color: rgb(177, 139, 252);
/* oklch */ color: oklch(71.9% 0.163 297.7);
Tailwind
colors: {
  custom: {
    50: '#cbadfe',
    500: '#b18bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b18bfc;
$custom-light: #cbadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bfc",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 260.177,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71891,
    "c": 0.16274,
    "h": 297.7
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

primary
#B18BFC
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B18BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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