#B18DF9#B18DF9

#B18DF9 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.1% C 0.156 H 297.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B18DF9
RGBrgb(177, 141, 249)
HSLhsl(260, 90%, 76%)
HSVhsv(260, 43%, 98%)
CMYKcmyk(28.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(65.93, 35.82, -49.21)
CIE-LCHlch(65.93, 60.87, 306.05°)
OKLaboklab(72.08% 0.0725 -0.1379)
OKLCHoklch(72.08% 0.156 297.7)
XYZxyz(44.7511, 35.2360, 94.0477)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DF9 #D5F98D
analogous
#8D9FF9 #B18DF9 #E78DF9
triadic
#B18DF9 #F9B18D #8DF9B1
tetradic
#B18DF9 #F98D9F #D5F98D #8DF9E7
square
#B18DF9 #F98D9F #D5F98D #8DF9E7
split-complementary
#B18DF9 #F9E78D #9FF98D
monochromatic
#6119F3 #8953F6 #B18DF9 #D9C7FC #EBE2FD

Accessibility & contrast

On white

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

On black

8.05
#B18DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DF9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DF9#FFFFFF#000000##000000
##B18DF91.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#A2A0B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18df9;
/* rgb */ color: rgb(177, 141, 249);
/* oklch */ color: oklch(72.1% 0.156 297.7);
Tailwind
colors: {
  custom: {
    50: '#cbaffc',
    500: '#b18df9',
    950: '#000000',
  },
}
SCSS
$custom: #b18df9;
$custom-light: #cbaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18df9",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 260,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.15582,
    "h": 297.7
  },
  "luminance": 0.35236
}

Semantic roles & 50–950 ramp

primary
#B18DF9
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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