#B18EEF#B18EEF

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

Color values

HEX#B18EEF
RGBrgb(177, 142, 239)
HSLhsl(262, 75%, 75%)
HSVhsv(262, 41%, 94%)
CMYKcmyk(25.9%, 40.6%, 0%, 6.3%)
CIE-LABlab(65.69, 32.85, -44.10)
CIE-LCHlch(65.69, 54.99, 306.69°)
OKLaboklab(71.74% 0.0695 -0.1231)
OKLCHoklch(71.74% 0.141 299.5)
XYZxyz(43.3809, 34.9249, 86.1003)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EEF #CCEF8E
analogous
#8E9CEF #B18EEF #E18EEF
triadic
#B18EEF #EFB18E #8EEFB1
tetradic
#B18EEF #EF8E9C #CCEF8E #8EEFE1
square
#B18EEF #EF8E9C #CCEF8E #8EEFE1
split-complementary
#B18EEF #EFE18E #9CEF8E
monochromatic
#6723E0 #8C58E7 #B18EEF #D6C4F7 #ECE4FB

Accessibility & contrast

On white

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

On black

7.99
#B18EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EEF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EEF#FFFFFF#000000##000000
##B18EEF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#A59FB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18eef;
/* rgb */ color: rgb(177, 142, 239);
/* oklch */ color: oklch(71.7% 0.141 299.5);
Tailwind
colors: {
  custom: {
    50: '#caaff4',
    500: '#b18eef',
    950: '#000000',
  },
}
SCSS
$custom: #b18eef;
$custom-light: #caaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b18eef",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 261.649,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.14137,
    "h": 299.5
  },
  "luminance": 0.34925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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