#B18AED#B18AED

#B18AED is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.9% C 0.145 H 300.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B18AED
RGBrgb(177, 138, 237)
HSLhsl(264, 73%, 74%)
HSVhsv(264, 42%, 93%)
CMYKcmyk(25.3%, 41.8%, 0%, 7.1%)
CIE-LABlab(64.67, 34.62, -44.60)
CIE-LCHlch(64.67, 56.45, 307.82°)
OKLaboklab(70.94% 0.0746 -0.1245)
OKLCHoklch(70.94% 0.145 300.9)
XYZxyz(42.5026, 33.6384, 84.3580)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18AED #C6ED8A
analogous
#8A94ED #B18AED #E28AED
triadic
#B18AED #EDB18A #8AEDB1
tetradic
#B18AED #ED8A94 #C6ED8A #8AEDE2
square
#B18AED #ED8A94 #C6ED8A #8AEDE2
split-complementary
#B18AED #EDE28A #94ED8A
monochromatic
#6B22DB #8E55E5 #B18AED #D4BFF5 #EDE4FB

Accessibility & contrast

On white

2.72
#B18AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B18AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18AED
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18AED#FFFFFF#000000##000000
##B18AED1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#A69BB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b18aed;
/* rgb */ color: rgb(177, 138, 237);
/* oklch */ color: oklch(70.9% 0.145 300.9);
Tailwind
colors: {
  custom: {
    50: '#caacf3',
    500: '#b18aed',
    950: '#000000',
  },
}
SCSS
$custom: #b18aed;
$custom-light: #caacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b18aed",
  "rgb": {
    "r": 177,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 263.636,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.14517,
    "h": 300.9
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#B18AED
secondary
#E8F3D8
accent
#D51088
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18AED

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

Preview Lab → · Contrast checker → · Palette generator →

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