#B29FF2#B29FF2

#B29FF2 is a light, moderate violet. Relative luminance 0.407; OKLCH L 75.0% C 0.119 H 293.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B29FF2
RGBrgb(178, 159, 242)
HSLhsl(254, 76%, 79%)
HSVhsv(254, 34%, 95%)
CMYKcmyk(26.4%, 34.3%, 0%, 5.1%)
CIE-LABlab(69.95, 24.32, -39.08)
CIE-LCHlch(69.95, 46.03, 301.90°)
OKLaboklab(75.04% 0.048 -0.1086)
OKLCHoklch(75.04% 0.119 293.9)
XYZxyz(46.7814, 40.6714, 89.3729)
Luminance0.4067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29FF2 #DFF29F
analogous
#9FB5F2 #B29FF2 #DB9FF2
triadic
#B29FF2 #F2B29F #9FF2B2
tetradic
#B29FF2 #F29FB5 #DFF29F #9FF2DB
square
#B29FF2 #F29FB5 #DFF29F #9FF2DB
split-complementary
#B29FF2 #F2DB9F #B5F29F
monochromatic
#5C33E3 #8769EB #B29FF2 #DDD5F9 #E9E4FB

Accessibility & contrast

On white

2.30
#B29FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B29FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29FF2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29FF2#FFFFFF#000000##000000
##B29FF21.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8BAAF0
Tritanopia (blue-blind)
#A4ADBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b29ff2;
/* rgb */ color: rgb(178, 159, 242);
/* oklch */ color: oklch(75.0% 0.119 293.9);
Tailwind
colors: {
  custom: {
    50: '#cabbf6',
    500: '#b29ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b29ff2;
$custom-light: #cabbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b29ff2",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 253.735,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7504,
    "c": 0.11876,
    "h": 293.9
  },
  "luminance": 0.40672
}

Semantic roles & 50–950 ramp

primary
#B29FF2
secondary
#EDF3D8
accent
#D80DAA
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B29FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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