#B18DF2#B18DF2

#B18DF2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.147 H 299.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B18DF2
RGBrgb(177, 141, 242)
HSLhsl(261, 80%, 75%)
HSVhsv(261, 42%, 95%)
CMYKcmyk(26.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.60, 34.13, -45.89)
CIE-LCHlch(65.60, 57.19, 306.64°)
OKLaboklab(71.71% 0.0714 -0.1283)
OKLCHoklch(71.71% 0.147 299.1)
XYZxyz(43.6796, 34.8074, 88.4045)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DF2 #CEF28D
analogous
#8D9BF2 #B18DF2 #E38DF2
triadic
#B18DF2 #F2B18D #8DF2B1
tetradic
#B18DF2 #F28D9B #CEF28D #8DF2E3
square
#B18DF2 #F28D9B #CEF28D #8DF2E3
split-complementary
#B18DF2 #F2E38D #9BF28D
monochromatic
#661FE5 #8B56EC #B18DF2 #D7C4F8 #ECE4FC

Accessibility & contrast

On white

2.64
#B18DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B18DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DF2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DF2#FFFFFF#000000##000000
##B18DF21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#789FEF
Tritanopia (blue-blind)
#A49FB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18df2;
/* rgb */ color: rgb(177, 141, 242);
/* oklch */ color: oklch(71.7% 0.147 299.1);
Tailwind
colors: {
  custom: {
    50: '#caaff7',
    500: '#b18df2',
    950: '#000000',
  },
}
SCSS
$custom: #b18df2;
$custom-light: #caaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b18df2",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 261.386,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.14682,
    "h": 299.1
  },
  "luminance": 0.34808
}

Semantic roles & 50–950 ramp

primary
#B18DF2
secondary
#EAF4D7
accent
#DC0A91
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B18DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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