#B29AEF#B29AEF

#B29AEF is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.0% C 0.123 H 296.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B29AEF
RGBrgb(178, 154, 239)
HSLhsl(257, 73%, 77%)
HSVhsv(257, 36%, 94%)
CMYKcmyk(25.5%, 35.6%, 0%, 6.3%)
CIE-LABlab(68.61, 26.41, -39.52)
CIE-LCHlch(68.61, 47.53, 303.75°)
OKLaboklab(73.98% 0.0542 -0.1099)
OKLCHoklch(73.98% 0.123 296.3)
XYZxyz(45.4920, 38.8077, 86.7385)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29AEF #D7EF9A
analogous
#9AADEF #B29AEF #DD9AEF
triadic
#B29AEF #EFB29A #9AEFB2
tetradic
#B29AEF #EF9AAD #D7EF9A #9AEFDD
square
#B29AEF #EF9AAD #D7EF9A #9AEFDD
split-complementary
#B29AEF #EFDD9A #ADEF9A
monochromatic
#6130DE #8A65E7 #B29AEF #DACFF7 #EBE5FB

Accessibility & contrast

On white

2.40
#B29AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B29AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29AEF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29AEF#FFFFFF#000000##000000
##B29AEF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#88A6ED
Tritanopia (blue-blind)
#A6A8B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b29aef;
/* rgb */ color: rgb(178, 154, 239);
/* oklch */ color: oklch(74.0% 0.123 296.3);
Tailwind
colors: {
  custom: {
    50: '#cab8f4',
    500: '#b29aef',
    950: '#000000',
  },
}
SCSS
$custom: #b29aef;
$custom-light: #cab8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b29aef",
  "rgb": {
    "r": 178,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 256.941,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73979,
    "c": 0.12251,
    "h": 296.3
  },
  "luminance": 0.38808
}

Semantic roles & 50–950 ramp

primary
#B29AEF
secondary
#EBF2D9
accent
#D5119D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B29AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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