#B29CF2#B29CF2

#B29CF2 is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.5% C 0.123 H 295.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B29CF2
RGBrgb(178, 156, 242)
HSLhsl(255, 77%, 78%)
HSVhsv(255, 36%, 95%)
CMYKcmyk(26.4%, 35.5%, 0%, 5.1%)
CIE-LABlab(69.22, 26.00, -40.21)
CIE-LCHlch(69.22, 47.88, 302.89°)
OKLaboklab(74.49% 0.0521 -0.1118)
OKLCHoklch(74.49% 0.123 295)
XYZxyz(46.2717, 39.6522, 89.2030)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29CF2 #DCF29C
analogous
#9CB1F2 #B29CF2 #DD9CF2
triadic
#B29CF2 #F2B29C #9CF2B2
tetradic
#B29CF2 #F29CB1 #DCF29C #9CF2DD
square
#B29CF2 #F29CB1 #DCF29C #9CF2DD
split-complementary
#B29CF2 #F2DD9C #B1F29C
monochromatic
#5E30E4 #8866EB #B29CF2 #DCD2F9 #EAE4FB

Accessibility & contrast

On white

2.35
#B29CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B29CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29CF2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29CF2#FFFFFF#000000##000000
##B29CF21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#A5ABBC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b29cf2;
/* rgb */ color: rgb(178, 156, 242);
/* oklch */ color: oklch(74.5% 0.123 295.0);
Tailwind
colors: {
  custom: {
    50: '#cab9f6',
    500: '#b29cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b29cf2;
$custom-light: #cab9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b29cf2",
  "rgb": {
    "r": 178,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 255.349,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74486,
    "c": 0.1234,
    "h": 295
  },
  "luminance": 0.39653
}

Semantic roles & 50–950 ramp

primary
#B29CF2
secondary
#ECF3D8
accent
#D90CA5
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B29CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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