#B8A2FE#B8A2FE

#B8A2FE is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.7% C 0.131 H 294.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B8A2FE
RGBrgb(184, 162, 254)
HSLhsl(254, 98%, 82%)
HSVhsv(254, 36%, 100%)
CMYKcmyk(27.6%, 36.2%, 0%, 0.4%)
CIE-LABlab(71.68, 27.23, -42.85)
CIE-LCHlch(71.68, 50.77, 302.43°)
OKLaboklab(76.66% 0.0534 -0.1194)
OKLCHoklch(76.66% 0.131 294.1)
XYZxyz(50.5725, 43.1861, 99.4180)
Luminance0.4319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2FE #E8FEA2
analogous
#A2BAFE #B8A2FE #E6A2FE
triadic
#B8A2FE #FEB8A2 #A2FEB8
tetradic
#B8A2FE #FEA2BA #E8FEA2 #A2FEE6
square
#B8A2FE #FEA2BA #E8FEA2 #A2FEE6
split-complementary
#B8A2FE #FEE6A2 #BAFEA2
monochromatic
#5C29FD #8A65FD #B8A2FE #E6DFFF #E8E1FF

Accessibility & contrast

On white

2.18
#B8A2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B8A2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2FE
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2FE#FFFFFF#000000##000000
##B8A2FE1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#8CAEFC
Tritanopia (blue-blind)
#A9B2C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a2fe;
/* rgb */ color: rgb(184, 162, 254);
/* oklch */ color: oklch(76.7% 0.131 294.1);
Tailwind
colors: {
  custom: {
    50: '#cfbdff',
    500: '#b8a2fe',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2fe;
$custom-light: #cfbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2fe",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 254.348,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76656,
    "c": 0.13077,
    "h": 294.1
  },
  "luminance": 0.43187
}

Semantic roles & 50–950 ramp

primary
#B8A2FE
secondary
#EFF7D4
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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