#B29EFE#B29EFE

#B29EFE is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.4% C 0.136 H 292.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B29EFE
RGBrgb(178, 158, 254)
HSLhsl(253, 98%, 81%)
HSVhsv(253, 38%, 100%)
CMYKcmyk(29.9%, 37.8%, 0%, 0.4%)
CIE-LABlab(70.23, 27.80, -45.17)
CIE-LCHlch(70.23, 53.04, 301.61°)
OKLaboklab(75.43% 0.052 -0.1262)
OKLCHoklch(75.43% 0.136 292.4)
XYZxyz(48.4718, 41.0736, 99.1209)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29EFE #EAFE9E
analogous
#9EBAFE #B29EFE #E29EFE
triadic
#B29EFE #FEB29E #9EFEB2
tetradic
#B29EFE #FE9EBA #EAFE9E #9EFEE2
square
#B29EFE #FE9EBA #EAFE9E #9EFEE2
split-complementary
#B29EFE #FEE29E #BAFE9E
monochromatic
#5225FD #8261FD #B29EFE #E2DBFF #E7E1FF

Accessibility & contrast

On white

2.28
#B29EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B29EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29EFE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29EFE#FFFFFF#000000##000000
##B29EFE1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#A1AFC2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b29efe;
/* rgb */ color: rgb(178, 158, 254);
/* oklch */ color: oklch(75.4% 0.136 292.4);
Tailwind
colors: {
  custom: {
    50: '#cbbaff',
    500: '#b29efe',
    950: '#000000',
  },
}
SCSS
$custom: #b29efe;
$custom-light: #cbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b29efe",
  "rgb": {
    "r": 178,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 252.5,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75427,
    "c": 0.13647,
    "h": 292.4
  },
  "luminance": 0.41074
}

Semantic roles & 50–950 ramp

primary
#B29EFE
secondary
#F0F7D4
accent
#E600B6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B29EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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