#B18DF8#B18DF8

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

Color values

HEX#B18DF8
RGBrgb(177, 141, 248)
HSLhsl(260, 88%, 76%)
HSVhsv(260, 43%, 97%)
CMYKcmyk(28.6%, 43.1%, 0%, 2.7%)
CIE-LABlab(65.88, 35.58, -48.74)
CIE-LCHlch(65.88, 60.34, 306.13°)
OKLaboklab(72.02% 0.0724 -0.1365)
OKLCHoklch(72.02% 0.155 297.9)
XYZxyz(44.5956, 35.1738, 93.2285)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DF8 #D4F88D
analogous
#8D9FF8 #B18DF8 #E78DF8
triadic
#B18DF8 #F8B18D #8DF8B1
tetradic
#B18DF8 #F88D9F #D4F88D #8DF8E7
square
#B18DF8 #F88D9F #D4F88D #8DF8E7
split-complementary
#B18DF8 #F8E78D #9FF88D
monochromatic
#621AF1 #8A53F4 #B18DF8 #D8C7FC #EBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18DF8#FFFFFF#000000##000000
##B18DF81.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)
#6EA0FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#A2A0B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18df8;
/* rgb */ color: rgb(177, 141, 248);
/* oklch */ color: oklch(72.0% 0.155 297.9);
Tailwind
colors: {
  custom: {
    50: '#cbaffb',
    500: '#b18df8',
    950: '#000000',
  },
}
SCSS
$custom: #b18df8;
$custom-light: #cbaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b18df8",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 260.187,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72023,
    "c": 0.15454,
    "h": 297.9
  },
  "luminance": 0.35174
}

Semantic roles & 50–950 ramp

primary
#B18DF8
secondary
#EBF5D6
accent
#E50098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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