#B29CEF#B29CEF

#B29CEF is a light, moderate violet. Relative luminance 0.395; OKLCH L 74.3% C 0.119 H 295.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B29CEF
RGBrgb(178, 156, 239)
HSLhsl(256, 72%, 77%)
HSVhsv(256, 35%, 94%)
CMYKcmyk(25.5%, 34.7%, 0%, 6.3%)
CIE-LABlab(69.09, 25.29, -38.77)
CIE-LCHlch(69.09, 46.29, 303.11°)
OKLaboklab(74.35% 0.0515 -0.1077)
OKLCHoklch(74.35% 0.119 295.5)
XYZxyz(45.8249, 39.4734, 86.8495)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29CEF #D9EF9C
analogous
#9CAFEF #B29CEF #DC9CEF
triadic
#B29CEF #EFB29C #9CEFB2
tetradic
#B29CEF #EF9CAF #D9EF9C #9CEFDC
square
#B29CEF #EF9CAF #D9EF9C #9CEFDC
split-complementary
#B29CEF #EFDC9C #AFEF9C
monochromatic
#6033DE #8967E6 #B29CEF #DBD1F8 #EBE5FB

Accessibility & contrast

On white

2.36
#B29CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B29CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29CEF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29CEF#FFFFFF#000000##000000
##B29CEF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#A6AABB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b29cef;
/* rgb */ color: rgb(178, 156, 239);
/* oklch */ color: oklch(74.3% 0.119 295.5);
Tailwind
colors: {
  custom: {
    50: '#cab9f4',
    500: '#b29cef',
    950: '#000000',
  },
}
SCSS
$custom: #b29cef;
$custom-light: #cab9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b29cef",
  "rgb": {
    "r": 178,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 255.904,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74346,
    "c": 0.11937,
    "h": 295.5
  },
  "luminance": 0.39474
}

Semantic roles & 50–950 ramp

primary
#B29CEF
secondary
#ECF2D9
accent
#D411A1
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B29CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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