#B18FEF#B18FEF

#B18FEF is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.140 H 299.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B18FEF
RGBrgb(177, 143, 239)
HSLhsl(261, 75%, 75%)
HSVhsv(261, 40%, 94%)
CMYKcmyk(25.9%, 40.2%, 0%, 6.3%)
CIE-LABlab(65.92, 32.29, -43.74)
CIE-LCHlch(65.92, 54.37, 306.44°)
OKLaboklab(71.91% 0.0682 -0.122)
OKLCHoklch(71.91% 0.14 299.2)
XYZxyz(43.5303, 35.2238, 86.1501)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FEF #CDEF8F
analogous
#8F9DEF #B18FEF #E18FEF
triadic
#B18FEF #EFB18F #8FEFB1
tetradic
#B18FEF #EF8F9D #CDEF8F #8FEFE1
square
#B18FEF #EF8F9D #CDEF8F #8FEFE1
split-complementary
#B18FEF #EFE18F #9DEF8F
monochromatic
#6624E0 #8C59E7 #B18FEF #D6C5F7 #ECE4FB

Accessibility & contrast

On white

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

On black

8.04
#B18FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FEF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FEF#FFFFFF#000000##000000
##B18FEF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#A59FB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18fef;
/* rgb */ color: rgb(177, 143, 239);
/* oklch */ color: oklch(71.9% 0.140 299.2);
Tailwind
colors: {
  custom: {
    50: '#cab0f4',
    500: '#b18fef',
    950: '#000000',
  },
}
SCSS
$custom: #b18fef;
$custom-light: #cab0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fef",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 261.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71914,
    "c": 0.13978,
    "h": 299.2
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

primary
#B18FEF
secondary
#E9F3D8
accent
#D70E90
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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