#B8A2ED#B8A2ED

#B8A2ED is a light, moderate violet. Relative luminance 0.421; OKLCH L 75.9% C 0.108 H 297.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B8A2ED
RGBrgb(184, 162, 237)
HSLhsl(258, 68%, 78%)
HSVhsv(258, 32%, 93%)
CMYKcmyk(22.4%, 31.6%, 0%, 7.1%)
CIE-LABlab(70.97, 23.22, -34.72)
CIE-LCHlch(70.97, 41.76, 303.77°)
OKLaboklab(75.88% 0.0494 -0.096)
OKLCHoklch(75.88% 0.108 297.2)
XYZxyz(47.9701, 42.1451, 85.7119)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2ED #D7EDA2
analogous
#A2B1ED #B8A2ED #DDA2ED
triadic
#B8A2ED #EDB8A2 #A2EDB8
tetradic
#B8A2ED #EDA2B1 #D7EDA2 #A2EDDD
square
#B8A2ED #EDA2B1 #D7EDA2 #A2EDDD
split-complementary
#B8A2ED #EDDDA2 #B1EDA2
monochromatic
#6A3BD9 #916FE3 #B8A2ED #DFD5F7 #EBE5FA

Accessibility & contrast

On white

2.23
#B8A2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B8A2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2ED
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2ED#FFFFFF#000000##000000
##B8A2ED1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#AEAEBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a2ed;
/* rgb */ color: rgb(184, 162, 237);
/* oklch */ color: oklch(75.9% 0.108 297.2);
Tailwind
colors: {
  custom: {
    50: '#cebdf3',
    500: '#b8a2ed',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2ed;
$custom-light: #cebdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2ed",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 257.6,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75879,
    "c": 0.10796,
    "h": 297.2
  },
  "luminance": 0.42145
}

Semantic roles & 50–950 ramp

primary
#B8A2ED
secondary
#EAF2D9
accent
#CF1699
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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