#B18FFC#B18FFC

#B18FFC is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.157 H 296.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B18FFC
RGBrgb(177, 143, 252)
HSLhsl(259, 95%, 77%)
HSVhsv(259, 43%, 99%)
CMYKcmyk(29.8%, 43.3%, 0%, 1.2%)
CIE-LABlab(66.54, 35.44, -49.90)
CIE-LCHlch(66.54, 61.20, 305.38°)
OKLaboklab(72.58% 0.0703 -0.1399)
OKLCHoklch(72.58% 0.157 296.7)
XYZxyz(45.5203, 36.0198, 96.6309)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FFC #DAFC8F
analogous
#8FA3FC #B18FFC #E88FFC
triadic
#B18FFC #FCB18F #8FFCB1
tetradic
#B18FFC #FC8FA3 #DAFC8F #8FFCE8
square
#B18FFC #FC8FA3 #DAFC8F #8FFCE8
split-complementary
#B18FFC #FCE88F #A3FC8F
monochromatic
#5E18F9 #8753FA #B18FFC #DBCBFE #EAE1FE

Accessibility & contrast

On white

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

On black

8.20
#B18FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FFC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FFC#FFFFFF#000000##000000
##B18FFC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#74A1F9
Tritanopia (blue-blind)
#A1A3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b18ffc;
/* rgb */ color: rgb(177, 143, 252);
/* oklch */ color: oklch(72.6% 0.157 296.7);
Tailwind
colors: {
  custom: {
    50: '#cbb0fe',
    500: '#b18ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b18ffc;
$custom-light: #cbb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ffc",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 258.716,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72577,
    "c": 0.15661,
    "h": 296.7
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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