#B18EFA#B18EFA

#B18EFA is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.3% C 0.156 H 297.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B18EFA
RGBrgb(177, 142, 250)
HSLhsl(259, 92%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.2%, 43.2%, 0%, 2%)
CIE-LABlab(66.21, 35.51, -49.32)
CIE-LCHlch(66.21, 60.77, 305.75°)
OKLaboklab(72.3% 0.0714 -0.1382)
OKLCHoklch(72.3% 0.156 297.3)
XYZxyz(45.0556, 35.5948, 94.9207)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18EFA #D7FA8E
analogous
#8EA1FA #B18EFA #E78EFA
triadic
#B18EFA #FAB18E #8EFAB1
tetradic
#B18EFA #FA8EA1 #D7FA8E #8EFAE7
square
#B18EFA #FA8EA1 #D7FA8E #8EFAE7
split-complementary
#B18EFA #FAE78E #A1FA8E
monochromatic
#6019F5 #8953F7 #B18EFA #D9C9FD #EBE2FE

Accessibility & contrast

On white

2.59
#B18EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B18EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18EFA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18EFA#FFFFFF#000000##000000
##B18EFA1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#A2A1B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b18efa;
/* rgb */ color: rgb(177, 142, 250);
/* oklch */ color: oklch(72.3% 0.156 297.3);
Tailwind
colors: {
  custom: {
    50: '#cbaffc',
    500: '#b18efa',
    950: '#000000',
  },
}
SCSS
$custom: #b18efa;
$custom-light: #cbaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18efa",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 259.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.723,
    "c": 0.15557,
    "h": 297.3
  },
  "luminance": 0.35595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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