#B29DF2#B29DF2

#B29DF2 is a light, vivid violet. Relative luminance 0.400; OKLCH L 74.7% C 0.122 H 294.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B29DF2
RGBrgb(178, 157, 242)
HSLhsl(255, 77%, 78%)
HSVhsv(255, 35%, 95%)
CMYKcmyk(26.4%, 35.1%, 0%, 5.1%)
CIE-LABlab(69.46, 25.44, -39.83)
CIE-LCHlch(69.46, 47.26, 302.57°)
OKLaboklab(74.67% 0.0508 -0.1108)
OKLCHoklch(74.67% 0.122 294.6)
XYZxyz(46.4402, 39.9891, 89.2592)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29DF2 #DDF29D
analogous
#9DB2F2 #B29DF2 #DD9DF2
triadic
#B29DF2 #F2B29D #9DF2B2
tetradic
#B29DF2 #F29DB2 #DDF29D #9DF2DD
square
#B29DF2 #F29DB2 #DDF29D #9DF2DD
split-complementary
#B29DF2 #F2DD9D #B2F29D
monochromatic
#5D31E4 #8867EB #B29DF2 #DCD3F9 #EAE4FB

Accessibility & contrast

On white

2.33
#B29DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B29DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29DF2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29DF2#FFFFFF#000000##000000
##B29DF21.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF5
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#A5ACBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b29df2;
/* rgb */ color: rgb(178, 157, 242);
/* oklch */ color: oklch(74.7% 0.122 294.6);
Tailwind
colors: {
  custom: {
    50: '#cabaf6',
    500: '#b29df2',
    950: '#000000',
  },
}
SCSS
$custom: #b29df2;
$custom-light: #cabaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b29df2",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 254.824,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7467,
    "c": 0.12185,
    "h": 294.6
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#B29DF2
secondary
#ECF3D8
accent
#D90DA6
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B29DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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