#B18CF8#B18CF8

#B18CF8 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.9% C 0.156 H 298.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B18CF8
RGBrgb(177, 140, 248)
HSLhsl(261, 89%, 76%)
HSVhsv(261, 44%, 97%)
CMYKcmyk(28.6%, 43.5%, 0%, 2.7%)
CIE-LABlab(65.66, 36.14, -49.10)
CIE-LCHlch(65.66, 60.96, 306.35°)
OKLaboklab(71.85% 0.0737 -0.1376)
OKLCHoklch(71.85% 0.156 298.2)
XYZxyz(44.4488, 34.8802, 93.1795)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CF8 #D3F88C
analogous
#8C9DF8 #B18CF8 #E78CF8
triadic
#B18CF8 #F8B18C #8CF8B1
tetradic
#B18CF8 #F88C9D #D3F88C #8CF8E7
square
#B18CF8 #F88C9D #D3F88C #8CF8E7
split-complementary
#B18CF8 #F8E78C #9DF88C
monochromatic
#6319F1 #8A52F4 #B18CF8 #D8C6FC #EBE2FD

Accessibility & contrast

On white

2.63
#B18CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B18CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CF8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CF8#FFFFFF#000000##000000
##B18CF81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#A39FB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18cf8;
/* rgb */ color: rgb(177, 140, 248);
/* oklch */ color: oklch(71.9% 0.156 298.2);
Tailwind
colors: {
  custom: {
    50: '#cbaefb',
    500: '#b18cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b18cf8;
$custom-light: #cbaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cf8",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 260.556,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.15609,
    "h": 298.2
  },
  "luminance": 0.34881
}

Semantic roles & 50–950 ramp

primary
#B18CF8
secondary
#EAF5D6
accent
#E50097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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