#B18FEB#B18FEB

#B18FEB is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.7% C 0.135 H 300.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B18FEB
RGBrgb(177, 143, 235)
HSLhsl(262, 70%, 74%)
HSVhsv(262, 39%, 92%)
CMYKcmyk(24.7%, 39.1%, 0%, 7.8%)
CIE-LABlab(65.74, 31.34, -41.82)
CIE-LCHlch(65.74, 52.26, 306.85°)
OKLaboklab(71.72% 0.0674 -0.1165)
OKLCHoklch(71.72% 0.135 300.1)
XYZxyz(42.9459, 34.9900, 83.0724)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FEB #C9EB8F
analogous
#8F9BEB #B18FEB #DF8FEB
triadic
#B18FEB #EBB18F #8FEBB1
tetradic
#B18FEB #EB8F9B #C9EB8F #8FEBDF
square
#B18FEB #EB8F9B #C9EB8F #8FEBDF
split-complementary
#B18FEB #EBDF8F #9BEB8F
monochromatic
#6927D8 #8D5BE2 #B18FEB #D5C3F4 #EDE5FA

Accessibility & contrast

On white

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

On black

8.00
#B18FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FEB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FEB#FFFFFF#000000##000000
##B18FEB1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#A69EB2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18feb;
/* rgb */ color: rgb(177, 143, 235);
/* oklch */ color: oklch(71.7% 0.135 300.1);
Tailwind
colors: {
  custom: {
    50: '#cab0f2',
    500: '#b18feb',
    950: '#000000',
  },
}
SCSS
$custom: #b18feb;
$custom-light: #cab0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b18feb",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 262.174,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71717,
    "c": 0.13458,
    "h": 300.1
  },
  "luminance": 0.3499
}

Semantic roles & 50–950 ramp

primary
#B18FEB
secondary
#E9F2D9
accent
#D2148C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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