#B18DF6#B18DF6

#B18DF6 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.152 H 298.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B18DF6
RGBrgb(177, 141, 246)
HSLhsl(261, 85%, 76%)
HSVhsv(261, 43%, 96%)
CMYKcmyk(28%, 42.7%, 0%, 3.5%)
CIE-LABlab(65.79, 35.10, -47.79)
CIE-LCHlch(65.79, 59.29, 306.29°)
OKLaboklab(71.92% 0.0721 -0.1338)
OKLCHoklch(71.92% 0.152 298.3)
XYZxyz(44.2870, 35.0503, 91.6031)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DF6 #D2F68D
analogous
#8D9DF6 #B18DF6 #E58DF6
triadic
#B18DF6 #F6B18D #8DF6B1
tetradic
#B18DF6 #F68D9D #D2F68D #8DF6E5
square
#B18DF6 #F68D9D #D2F68D #8DF6E5
split-complementary
#B18DF6 #F6E58D #9DF68D
monochromatic
#631CED #8A54F2 #B18DF6 #D8C6FA #ECE3FD

Accessibility & contrast

On white

2.62
#B18DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B18DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DF6
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DF6#FFFFFF#000000##000000
##B18DF61.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#A3A0B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18df6;
/* rgb */ color: rgb(177, 141, 246);
/* oklch */ color: oklch(71.9% 0.152 298.3);
Tailwind
colors: {
  custom: {
    50: '#caaff9',
    500: '#b18df6',
    950: '#000000',
  },
}
SCSS
$custom: #b18df6;
$custom-light: #caaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18df6",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 260.571,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71919,
    "c": 0.15197,
    "h": 298.3
  },
  "luminance": 0.35051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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