#B8A2EA#B8A2EA

#B8A2EA is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.7% C 0.104 H 297.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B8A2EA
RGBrgb(184, 162, 234)
HSLhsl(258, 63%, 78%)
HSVhsv(258, 31%, 92%)
CMYKcmyk(21.4%, 30.8%, 0%, 8.2%)
CIE-LABlab(70.85, 22.53, -33.27)
CIE-LCHlch(70.85, 40.17, 304.10°)
OKLaboklab(75.75% 0.0487 -0.0918)
OKLCHoklch(75.75% 0.104 297.9)
XYZxyz(47.5355, 41.9712, 83.4229)
Luminance0.4197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2EA #D4EAA2
analogous
#A2B0EA #B8A2EA #DCA2EA
triadic
#B8A2EA #EAB8A2 #A2EAB8
tetradic
#B8A2EA #EAA2B0 #D4EAA2 #A2EADC
square
#B8A2EA #EAA2B0 #D4EAA2 #A2EADC
split-complementary
#B8A2EA #EADCA2 #B0EAA2
monochromatic
#6C3ED3 #9270DF #B8A2EA #DED4F5 #ECE6F9

Accessibility & contrast

On white

2.24
#B8A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B8A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2EA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2EA#FFFFFF#000000##000000
##B8A2EA1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEED
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#AFADBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a2ea;
/* rgb */ color: rgb(184, 162, 234);
/* oklch */ color: oklch(75.7% 0.104 297.9);
Tailwind
colors: {
  custom: {
    50: '#cebdf1',
    500: '#b8a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2ea;
$custom-light: #cebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2ea",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 258.333,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.10393,
    "h": 297.9
  },
  "luminance": 0.41972
}

Semantic roles & 50–950 ramp

primary
#B8A2EA
secondary
#EAF1DA
accent
#CB1B95
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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