#B18FFB#B18FFB

#B18FFB is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.5% C 0.155 H 296.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B18FFB
RGBrgb(177, 143, 251)
HSLhsl(259, 93%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.5%, 43%, 0%, 1.6%)
CIE-LABlab(66.49, 35.19, -49.43)
CIE-LCHlch(66.49, 60.68, 305.45°)
OKLaboklab(72.52% 0.0702 -0.1386)
OKLCHoklch(72.52% 0.155 296.9)
XYZxyz(45.3623, 35.9565, 95.7985)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FFB #D9FB8F
analogous
#8FA3FB #B18FFB #E78FFB
triadic
#B18FFB #FBB18F #8FFBB1
tetradic
#B18FFB #FB8FA3 #D9FB8F #8FFBE7
square
#B18FFB #FB8FA3 #D9FB8F #8FFBE7
split-complementary
#B18FFB #FBE78F #A3FB8F
monochromatic
#5F19F7 #8854F9 #B18FFB #DACAFD #EAE1FE

Accessibility & contrast

On white

2.56
#B18FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B18FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FFB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FFB#FFFFFF#000000##000000
##B18FFB1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#A1A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b18ffb;
/* rgb */ color: rgb(177, 143, 251);
/* oklch */ color: oklch(72.5% 0.155 296.9);
Tailwind
colors: {
  custom: {
    50: '#cbb0fd',
    500: '#b18ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b18ffb;
$custom-light: #cbb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ffb",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 258.889,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72525,
    "c": 0.15532,
    "h": 296.9
  },
  "luminance": 0.35957
}

Semantic roles & 50–950 ramp

primary
#B18FFB
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #B18FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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