#B18FFE#B18FFE

#B18FFE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.159 H 296.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B18FFE
RGBrgb(177, 143, 254)
HSLhsl(258, 98%, 78%)
HSVhsv(258, 44%, 100%)
CMYKcmyk(30.3%, 43.7%, 0%, 0.4%)
CIE-LABlab(66.63, 35.93, -50.83)
CIE-LCHlch(66.63, 62.25, 305.25°)
OKLaboklab(72.68% 0.0706 -0.1427)
OKLCHoklch(72.68% 0.159 296.3)
XYZxyz(45.8389, 36.1472, 98.3088)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FFE #DCFE8F
analogous
#8FA5FE #B18FFE #E88FFE
triadic
#B18FFE #FEB18F #8FFEB1
tetradic
#B18FFE #FE8FA5 #DCFE8F #8FFEE8
square
#B18FFE #FE8FA5 #DCFE8F #8FFEE8
split-complementary
#B18FFE #FEE88F #A5FE8F
monochromatic
#5D16FD #8752FD #B18FFE #DBCCFF #EAE1FF

Accessibility & contrast

On white

2.55
#B18FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B18FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FFE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FFE#FFFFFF#000000##000000
##B18FFE1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#A0A3BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b18ffe;
/* rgb */ color: rgb(177, 143, 254);
/* oklch */ color: oklch(72.7% 0.159 296.3);
Tailwind
colors: {
  custom: {
    50: '#cbb0ff',
    500: '#b18ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b18ffe;
$custom-light: #cbb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ffe",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 258.378,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72682,
    "c": 0.15919,
    "h": 296.3
  },
  "luminance": 0.36148
}

Semantic roles & 50–950 ramp

primary
#B18FFE
secondary
#ECF7D4
accent
#E6009F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B18FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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