#B18FFA#B18FFA

#B18FFA is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.154 H 297.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B18FFA
RGBrgb(177, 143, 250)
HSLhsl(259, 91%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.2%, 42.8%, 0%, 2%)
CIE-LABlab(66.44, 34.95, -48.96)
CIE-LCHlch(66.44, 60.15, 305.52°)
OKLaboklab(72.47% 0.07 -0.1372)
OKLCHoklch(72.47% 0.154 297)
XYZxyz(45.2051, 35.8937, 94.9705)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FFA #D8FA8F
analogous
#8FA3FA #B18FFA #E68FFA
triadic
#B18FFA #FAB18F #8FFAB1
tetradic
#B18FFA #FA8FA3 #D8FA8F #8FFAE6
square
#B18FFA #FA8FA3 #D8FA8F #8FFAE6
split-complementary
#B18FFA #FAE68F #A3FA8F
monochromatic
#5F1AF5 #8854F7 #B18FFA #DACAFD #EBE2FE

Accessibility & contrast

On white

2.57
#B18FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B18FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FFA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FFA#FFFFFF#000000##000000
##B18FFA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#A2A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b18ffa;
/* rgb */ color: rgb(177, 143, 250);
/* oklch */ color: oklch(72.5% 0.154 297.0);
Tailwind
colors: {
  custom: {
    50: '#cbb0fc',
    500: '#b18ffa',
    950: '#000000',
  },
}
SCSS
$custom: #b18ffa;
$custom-light: #cbb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ffa",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 259.065,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72473,
    "c": 0.15403,
    "h": 297
  },
  "luminance": 0.35894
}

Semantic roles & 50–950 ramp

primary
#B18FFA
secondary
#EBF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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