#B18FF5#B18FF5

#B18FF5 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.148 H 298.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B18FF5
RGBrgb(177, 143, 245)
HSLhsl(260, 84%, 76%)
HSVhsv(260, 42%, 96%)
CMYKcmyk(27.8%, 41.6%, 0%, 3.9%)
CIE-LABlab(66.20, 33.74, -46.59)
CIE-LCHlch(66.20, 57.52, 305.91°)
OKLaboklab(72.22% 0.0692 -0.1303)
OKLCHoklch(72.22% 0.148 298)
XYZxyz(44.4315, 35.5842, 90.8961)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FF5 #D3F58F
analogous
#8FA0F5 #B18FF5 #E48FF5
triadic
#B18FF5 #F5B18F #8FF5B1
tetradic
#B18FF5 #F58FA0 #D3F58F #8FF5E4
square
#B18FF5 #F58FA0 #D3F58F #8FF5E4
split-complementary
#B18FF5 #F5E48F #A0F58F
monochromatic
#631FEB #8A57F0 #B18FF5 #D8C7FA #EBE3FC

Accessibility & contrast

On white

2.59
#B18FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B18FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FF5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FF5#FFFFFF#000000##000000
##B18FF51.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#A3A1B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b18ff5;
/* rgb */ color: rgb(177, 143, 245);
/* oklch */ color: oklch(72.2% 0.148 298.0);
Tailwind
colors: {
  custom: {
    50: '#cab0f9',
    500: '#b18ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b18ff5;
$custom-light: #cab0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ff5",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 260,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72216,
    "c": 0.14756,
    "h": 298
  },
  "luminance": 0.35585
}

Semantic roles & 50–950 ramp

primary
#B18FF5
secondary
#EAF4D7
accent
#E00597
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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