#B18EFB#B18EFB

#B18EFB is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.157 H 297.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B18EFB
RGBrgb(177, 142, 251)
HSLhsl(259, 93%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(66.26, 35.75, -49.79)
CIE-LCHlch(66.26, 61.30, 305.68°)
OKLaboklab(72.35% 0.0715 -0.1396)
OKLCHoklch(72.35% 0.157 297.1)
XYZxyz(45.2129, 35.6576, 95.7487)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EFB #D8FB8E
analogous
#8EA2FB #B18EFB #E78EFB
triadic
#B18EFB #FBB18E #8EFBB1
tetradic
#B18EFB #FB8EA2 #D8FB8E #8EFBE7
square
#B18EFB #FB8EA2 #D8FB8E #8EFBE7
split-complementary
#B18EFB #FBE78E #A2FB8E
monochromatic
#5F18F7 #8853F9 #B18EFB #DAC9FD #EBE1FE

Accessibility & contrast

On white

2.58
#B18EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B18EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EFB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EFB#FFFFFF#000000##000000
##B18EFB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#A1A2B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b18efb;
/* rgb */ color: rgb(177, 142, 251);
/* oklch */ color: oklch(72.4% 0.157 297.1);
Tailwind
colors: {
  custom: {
    50: '#cbaffd',
    500: '#b18efb',
    950: '#000000',
  },
}
SCSS
$custom: #b18efb;
$custom-light: #cbaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b18efb",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 259.266,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72352,
    "c": 0.15685,
    "h": 297.1
  },
  "luminance": 0.35658
}

Semantic roles & 50–950 ramp

primary
#B18EFB
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #B18EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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