#B29EF2#B29EF2

#B29EF2 is a light, vivid violet. Relative luminance 0.403; OKLCH L 74.9% C 0.120 H 294.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B29EF2
RGBrgb(178, 158, 242)
HSLhsl(254, 76%, 78%)
HSVhsv(254, 35%, 95%)
CMYKcmyk(26.4%, 34.7%, 0%, 5.1%)
CIE-LABlab(69.70, 24.88, -39.46)
CIE-LCHlch(69.70, 46.65, 302.24°)
OKLaboklab(74.86% 0.0494 -0.1097)
OKLCHoklch(74.86% 0.12 294.2)
XYZxyz(46.6101, 40.3289, 89.3158)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29EF2 #DEF29E
analogous
#9EB4F2 #B29EF2 #DC9EF2
triadic
#B29EF2 #F2B29E #9EF2B2
tetradic
#B29EF2 #F29EB4 #DEF29E #9EF2DC
square
#B29EF2 #F29EB4 #DEF29E #9EF2DC
split-complementary
#B29EF2 #F2DC9E #B4F29E
monochromatic
#5C32E4 #8768EB #B29EF2 #DDD4F9 #EAE4FB

Accessibility & contrast

On white

2.32
#B29EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B29EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29EF2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29EF2#FFFFFF#000000##000000
##B29EF21.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#A5ACBD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b29ef2;
/* rgb */ color: rgb(178, 158, 242);
/* oklch */ color: oklch(74.9% 0.120 294.2);
Tailwind
colors: {
  custom: {
    50: '#cabaf6',
    500: '#b29ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b29ef2;
$custom-light: #cabaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b29ef2",
  "rgb": {
    "r": 178,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 254.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74855,
    "c": 0.1203,
    "h": 294.2
  },
  "luminance": 0.4033
}

Semantic roles & 50–950 ramp

primary
#B29EF2
secondary
#EDF3D8
accent
#D90DA8
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B29EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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