#B18AE3#B18AE3

#B18AE3 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.4% C 0.132 H 303.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B18AE3
RGBrgb(177, 138, 227)
HSLhsl(266, 61%, 72%)
HSVhsv(266, 39%, 89%)
CMYKcmyk(22%, 39.2%, 0%, 11%)
CIE-LABlab(64.22, 32.28, -39.78)
CIE-LCHlch(64.22, 51.23, 309.05°)
OKLaboklab(70.45% 0.0728 -0.1106)
OKLCHoklch(70.45% 0.132 303.4)
XYZxyz(41.0821, 33.0702, 76.8770)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18AE3 #BCE38A
analogous
#8A90E3 #B18AE3 #DE8AE3
triadic
#B18AE3 #E3B18A #8AE3B1
tetradic
#B18AE3 #E38A90 #BCE38A #8AE3DE
square
#B18AE3 #E38A90 #BCE38A #8AE3DE
split-complementary
#B18AE3 #E3DE8A #90E38A
monochromatic
#702FC4 #9059D7 #B18AE3 #D2BBEF #EFE6F9

Accessibility & contrast

On white

2.76
#B18AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B18AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18AE3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18AE3#FFFFFF#000000##000000
##B18AE31.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE6
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#A998AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b18ae3;
/* rgb */ color: rgb(177, 138, 227);
/* oklch */ color: oklch(70.4% 0.132 303.4);
Tailwind
colors: {
  custom: {
    50: '#caacec',
    500: '#b18ae3',
    950: '#000000',
  },
}
SCSS
$custom: #b18ae3;
$custom-light: #caacec;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ae3",
  "rgb": {
    "r": 177,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 266.292,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70445,
    "c": 0.13241,
    "h": 303.4
  },
  "luminance": 0.3307
}

Semantic roles & 50–950 ramp

primary
#B18AE3
secondary
#E6F0D9
accent
#C91C7D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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