#B29FE5#B29FE5

#B29FE5 is a light, moderate violet. Relative luminance 0.399; OKLCH L 74.5% C 0.101 H 296.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B29FE5
RGBrgb(178, 159, 229)
HSLhsl(256, 57%, 76%)
HSVhsv(256, 31%, 90%)
CMYKcmyk(22.3%, 30.6%, 0%, 10.2%)
CIE-LABlab(69.41, 21.25, -32.80)
CIE-LCHlch(69.41, 39.08, 302.94°)
OKLaboklab(74.46% 0.0448 -0.0906)
OKLCHoklch(74.46% 0.101 296.3)
XYZxyz(44.8979, 39.9180, 79.4531)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29FE5 #D2E59F
analogous
#9FAFE5 #B29FE5 #D59FE5
triadic
#B29FE5 #E5B29F #9FE5B2
tetradic
#B29FE5 #E59FAF #D2E59F #9FE5D5
square
#B29FE5 #E59FAF #D2E59F #9FE5D5
split-complementary
#B29FE5 #E5D59F #AFE59F
monochromatic
#653FCB #8B6FD8 #B29FE5 #D9CFF2 #ECE7F8

Accessibility & contrast

On white

2.34
#B29FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B29FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29FE5
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29FE5#FFFFFF#000000##000000
##B29FE51.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAE8
Deuteranopia (green-blind)
#91A9E3
Tritanopia (blue-blind)
#A8AAB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b29fe5;
/* rgb */ color: rgb(178, 159, 229);
/* oklch */ color: oklch(74.5% 0.101 296.3);
Tailwind
colors: {
  custom: {
    50: '#cabbed',
    500: '#b29fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b29fe5;
$custom-light: #cabbed;
$custom-dark: #000000;
JSON
{
  "hex": "#b29fe5",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 256.286,
    "s": 57.377,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.10108,
    "h": 296.3
  },
  "luminance": 0.39918
}

Semantic roles & 50–950 ramp

primary
#B29FE5
secondary
#EAF0DB
accent
#C52198
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B29FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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