#B18EF6#B18EF6

#B18EF6 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.150 H 298.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B18EF6
RGBrgb(177, 142, 246)
HSLhsl(260, 85%, 76%)
HSVhsv(260, 42%, 96%)
CMYKcmyk(28%, 42.3%, 0%, 3.5%)
CIE-LABlab(66.02, 34.54, -47.43)
CIE-LCHlch(66.02, 58.67, 306.06°)
OKLaboklab(72.09% 0.0707 -0.1327)
OKLCHoklch(72.09% 0.15 298)
XYZxyz(44.4351, 35.3465, 91.6524)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EF6 #D3F68E
analogous
#8E9FF6 #B18EF6 #E58EF6
triadic
#B18EF6 #F6B18E #8EF6B1
tetradic
#B18EF6 #F68E9F #D3F68E #8EF6E5
square
#B18EF6 #F68E9F #D3F68E #8EF6E5
split-complementary
#B18EF6 #F6E58E #9FF68E
monochromatic
#631DED #8A55F1 #B18EF6 #D8C7FB #EBE3FD

Accessibility & contrast

On white

2.60
#B18EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B18EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EF6
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EF6#FFFFFF#000000##000000
##B18EF61.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#A3A0B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18ef6;
/* rgb */ color: rgb(177, 142, 246);
/* oklch */ color: oklch(72.1% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#caaff9',
    500: '#b18ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b18ef6;
$custom-light: #caaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ef6",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 260.192,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.15041,
    "h": 298
  },
  "luminance": 0.35347
}

Semantic roles & 50–950 ramp

primary
#B18EF6
secondary
#EAF5D6
accent
#E20497
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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