#B18EEE#B18EEE

#B18EEE is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.140 H 299.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B18EEE
RGBrgb(177, 142, 238)
HSLhsl(262, 74%, 75%)
HSVhsv(262, 40%, 93%)
CMYKcmyk(25.6%, 40.3%, 0%, 6.7%)
CIE-LABlab(65.64, 32.62, -43.62)
CIE-LCHlch(65.64, 54.47, 306.78°)
OKLaboklab(71.69% 0.0693 -0.1217)
OKLCHoklch(71.69% 0.14 299.7)
XYZxyz(43.2336, 34.8659, 85.3244)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EEE #CBEE8E
analogous
#8E9BEE #B18EEE #E18EEE
triadic
#B18EEE #EEB18E #8EEEB1
tetradic
#B18EEE #EE8E9B #CBEE8E #8EEEE1
square
#B18EEE #EE8E9B #CBEE8E #8EEEE1
split-complementary
#B18EEE #EEE18E #9BEE8E
monochromatic
#6824DE #8C59E6 #B18EEE #D6C3F6 #EDE4FB

Accessibility & contrast

On white

2.63
#B18EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B18EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EEE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EEE#FFFFFF#000000##000000
##B18EEE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF2
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#A59EB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18eee;
/* rgb */ color: rgb(177, 142, 238);
/* oklch */ color: oklch(71.7% 0.140 299.7);
Tailwind
colors: {
  custom: {
    50: '#caaff4',
    500: '#b18eee',
    950: '#000000',
  },
}
SCSS
$custom: #b18eee;
$custom-light: #caaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b18eee",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 261.875,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71688,
    "c": 0.14008,
    "h": 299.7
  },
  "luminance": 0.34866
}

Semantic roles & 50–950 ramp

primary
#B18EEE
secondary
#E9F3D8
accent
#D6108E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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