#B18FE4#B18FE4

#B18FE4 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.4% C 0.125 H 301.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B18FE4
RGBrgb(177, 143, 228)
HSLhsl(264, 61%, 73%)
HSVhsv(264, 37%, 89%)
CMYKcmyk(22.4%, 37.3%, 0%, 10.6%)
CIE-LABlab(65.43, 29.71, -38.44)
CIE-LCHlch(65.43, 48.58, 307.69°)
OKLaboklab(71.38% 0.066 -0.1067)
OKLCHoklch(71.38% 0.125 301.7)
XYZxyz(41.9545, 34.5934, 77.8507)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FE4 #C2E48F
analogous
#8F97E4 #B18FE4 #DB8FE4
triadic
#B18FE4 #E4B18F #8FE4B1
tetradic
#B18FE4 #E48F97 #C2E48F #8FE4DB
square
#B18FE4 #E48F97 #C2E48F #8FE4DB
split-complementary
#B18FE4 #E4DB8F #97E48F
monochromatic
#6D30C8 #8F5ED8 #B18FE4 #D3C0F0 #EEE6F9

Accessibility & contrast

On white

2.65
#B18FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B18FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FE4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FE4#FFFFFF#000000##000000
##B18FE41.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE7
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#A89DAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18fe4;
/* rgb */ color: rgb(177, 143, 228);
/* oklch */ color: oklch(71.4% 0.125 301.7);
Tailwind
colors: {
  custom: {
    50: '#c9b0ed',
    500: '#b18fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b18fe4;
$custom-light: #c9b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fe4",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 264,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7138,
    "c": 0.12549,
    "h": 301.7
  },
  "luminance": 0.34593
}

Semantic roles & 50–950 ramp

primary
#B18FE4
secondary
#E8F0DB
accent
#C91D84
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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