#B18CFC#B18CFC

#B18CFC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.1% C 0.161 H 297.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B18CFC
RGBrgb(177, 140, 252)
HSLhsl(260, 95%, 77%)
HSVhsv(260, 44%, 99%)
CMYKcmyk(29.8%, 44.4%, 0%, 1.2%)
CIE-LABlab(65.85, 37.11, -50.98)
CIE-LCHlch(65.85, 63.06, 306.06°)
OKLaboklab(72.06% 0.0743 -0.1431)
OKLCHoklch(72.06% 0.161 297.4)
XYZxyz(45.0760, 35.1311, 96.4828)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CFC #D7FC8C
analogous
#8C9FFC #B18CFC #E98CFC
triadic
#B18CFC #FCB18C #8CFCB1
tetradic
#B18CFC #FC8C9F #D7FC8C #8CFCE9
square
#B18CFC #FC8C9F #D7FC8C #8CFCE9
split-complementary
#B18CFC #FCE98C #9FFC8C
monochromatic
#6015F9 #8950FA #B18CFC #D9C8FE #EBE1FE

Accessibility & contrast

On white

2.62
#B18CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B18CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CFC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CFC#FFFFFF#000000##000000
##B18CFC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#A1A0B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18cfc;
/* rgb */ color: rgb(177, 140, 252);
/* oklch */ color: oklch(72.1% 0.161 297.4);
Tailwind
colors: {
  custom: {
    50: '#cbaefe',
    500: '#b18cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b18cfc;
$custom-light: #cbaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cfc",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 259.821,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.1612,
    "h": 297.4
  },
  "luminance": 0.35132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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