#B18EFF#B18EFF

#B18EFF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.162 H 296.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B18EFF
RGBrgb(177, 142, 255)
HSLhsl(259, 100%, 78%)
HSVhsv(259, 44%, 100%)
CMYKcmyk(30.6%, 44.3%, 0%, 0%)
CIE-LABlab(66.45, 36.74, -51.66)
CIE-LCHlch(66.45, 63.39, 305.41°)
OKLaboklab(72.56% 0.0721 -0.1451)
OKLCHoklch(72.56% 0.162 296.4)
XYZxyz(45.8500, 35.9125, 99.1046)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EFF #DCFF8E
analogous
#8EA3FF #B18EFF #E98EFF
triadic
#B18EFF #FFB18E #8EFFB1
tetradic
#B18EFF #FF8EA3 #DCFF8E #8EFFE9
square
#B18EFF #FF8EA3 #DCFF8E #8EFFE9
split-complementary
#B18EFF #FFE98E #A3FF8E
monochromatic
#5D14FF #8751FF #B18EFF #DBCBFF #EAE0FF

Accessibility & contrast

On white

2.57
#B18EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B18EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EFF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EFF#FFFFFF#000000##000000
##B18EFF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#A0A3BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b18eff;
/* rgb */ color: rgb(177, 142, 255);
/* oklch */ color: oklch(72.6% 0.162 296.4);
Tailwind
colors: {
  custom: {
    50: '#cbafff',
    500: '#b18eff',
    950: '#000000',
  },
}
SCSS
$custom: #b18eff;
$custom-light: #cbafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b18eff",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 258.584,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72563,
    "c": 0.16199,
    "h": 296.4
  },
  "luminance": 0.35913
}

Semantic roles & 50–950 ramp

primary
#B18EFF
secondary
#ECF7D4
accent
#E6009E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B18EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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