#B18EF3#B18EF3

#B18EF3 is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.147 H 298.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B18EF3
RGBrgb(177, 142, 243)
HSLhsl(261, 81%, 75%)
HSVhsv(261, 42%, 95%)
CMYKcmyk(27.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(65.88, 33.81, -46.01)
CIE-LCHlch(65.88, 57.10, 306.31°)
OKLaboklab(71.94% 0.0702 -0.1286)
OKLCHoklch(71.94% 0.147 298.6)
XYZxyz(43.9784, 35.1638, 89.2470)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EF3 #D0F38E
analogous
#8E9DF3 #B18EF3 #E38EF3
triadic
#B18EF3 #F3B18E #8EF3B1
tetradic
#B18EF3 #F38E9D #D0F38E #8EF3E3
square
#B18EF3 #F38E9D #D0F38E #8EF3E3
split-complementary
#B18EF3 #F3E38E #9DF38E
monochromatic
#651FE7 #8B57ED #B18EF3 #D7C5F9 #ECE3FC

Accessibility & contrast

On white

2.61
#B18EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B18EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EF3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EF3#FFFFFF#000000##000000
##B18EF31.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#A4A0B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18ef3;
/* rgb */ color: rgb(177, 142, 243);
/* oklch */ color: oklch(71.9% 0.147 298.6);
Tailwind
colors: {
  custom: {
    50: '#caaff7',
    500: '#b18ef3',
    950: '#000000',
  },
}
SCSS
$custom: #b18ef3;
$custom-light: #caaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ef3",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 260.792,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.14654,
    "h": 298.6
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

primary
#B18EF3
secondary
#EAF4D7
accent
#DD0893
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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