#B8A2FD#B8A2FD

#B8A2FD is a light, vivid violet. Relative luminance 0.431; OKLCH L 76.6% C 0.129 H 294.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B8A2FD
RGBrgb(184, 162, 253)
HSLhsl(255, 96%, 81%)
HSVhsv(255, 36%, 99%)
CMYKcmyk(27.3%, 36%, 0%, 0.8%)
CIE-LABlab(71.64, 26.99, -42.38)
CIE-LCHlch(71.64, 50.24, 302.49°)
OKLaboklab(76.61% 0.0532 -0.118)
OKLCHoklch(76.61% 0.129 294.2)
XYZxyz(50.4128, 43.1222, 98.5769)
Luminance0.4312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2FD #E7FDA2
analogous
#A2BAFD #B8A2FD #E5A2FD
triadic
#B8A2FD #FDB8A2 #A2FDB8
tetradic
#B8A2FD #FDA2BA #E7FDA2 #A2FDE5
square
#B8A2FD #FDA2BA #E7FDA2 #A2FDE5
split-complementary
#B8A2FD #FDE5A2 #BAFDA2
monochromatic
#5D2AFA #8A66FC #B8A2FD #E6DEFE #E8E1FE

Accessibility & contrast

On white

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

On black

9.62
#B8A2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2FD
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2FD#FFFFFF#000000##000000
##B8A2FD1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#A9B2C4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a2fd;
/* rgb */ color: rgb(184, 162, 253);
/* oklch */ color: oklch(76.6% 0.129 294.2);
Tailwind
colors: {
  custom: {
    50: '#cfbdfe',
    500: '#b8a2fd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2fd;
$custom-light: #cfbdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2fd",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 254.505,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76608,
    "c": 0.12944,
    "h": 294.2
  },
  "luminance": 0.43123
}

Semantic roles & 50–950 ramp

primary
#B8A2FD
secondary
#EEF7D4
accent
#E600AE
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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