#B18CFB#B18CFB

#B18CFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.160 H 297.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B18CFB
RGBrgb(177, 140, 251)
HSLhsl(260, 93%, 77%)
HSVhsv(260, 44%, 98%)
CMYKcmyk(29.5%, 44.2%, 0%, 1.6%)
CIE-LABlab(65.80, 36.87, -50.51)
CIE-LCHlch(65.80, 62.53, 306.13°)
OKLaboklab(72.01% 0.0741 -0.1417)
OKLCHoklch(72.01% 0.16 297.6)
XYZxyz(44.9180, 35.0679, 95.6504)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CFB #D6FB8C
analogous
#8C9FFB #B18CFB #E98CFB
triadic
#B18CFB #FBB18C #8CFBB1
tetradic
#B18CFB #FB8C9F #D6FB8C #8CFBE9
square
#B18CFB #FB8C9F #D6FB8C #8CFBE9
split-complementary
#B18CFB #FBE98C #9FFB8C
monochromatic
#6116F7 #8951F9 #B18CFB #D9C7FD #EBE1FE

Accessibility & contrast

On white

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

On black

8.01
#B18CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CFB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CFB#FFFFFF#000000##000000
##B18CFB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#A2A0B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18cfb;
/* rgb */ color: rgb(177, 140, 251);
/* oklch */ color: oklch(72.0% 0.160 297.6);
Tailwind
colors: {
  custom: {
    50: '#cbaefd',
    500: '#b18cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b18cfb;
$custom-light: #cbaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cfb",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72008,
    "c": 0.15993,
    "h": 297.6
  },
  "luminance": 0.35068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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