#B8A2E7#B8A2E7

#B8A2E7 is a light, moderate violet. Relative luminance 0.418; OKLCH L 75.6% C 0.100 H 298.6°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B8A2E7
RGBrgb(184, 162, 231)
HSLhsl(259, 59%, 77%)
HSVhsv(259, 30%, 91%)
CMYKcmyk(20.3%, 29.9%, 0%, 9.4%)
CIE-LABlab(70.73, 21.84, -31.81)
CIE-LCHlch(70.73, 38.59, 304.48°)
OKLaboklab(75.62% 0.0479 -0.0877)
OKLCHoklch(75.62% 0.1 298.6)
XYZxyz(47.1081, 41.8003, 81.1723)
Luminance0.4180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2E7 #D1E7A2
analogous
#A2AFE7 #B8A2E7 #DAA2E7
triadic
#B8A2E7 #E7B8A2 #A2E7B8
tetradic
#B8A2E7 #E7A2AF #D1E7A2 #A2E7DA
square
#B8A2E7 #E7A2AF #D1E7A2 #A2E7DA
split-complementary
#B8A2E7 #E7DAA2 #AFE7A2
monochromatic
#6E41CE #9371DA #B8A2E7 #DDD3F4 #ECE7F9

Accessibility & contrast

On white

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

On black

9.36
#B8A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2E7
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2E7#FFFFFF#000000##000000
##B8A2E71.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEA
Deuteranopia (green-blind)
#96ACE5
Tritanopia (blue-blind)
#AFADBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a2e7;
/* rgb */ color: rgb(184, 162, 231);
/* oklch */ color: oklch(75.6% 0.100 298.6);
Tailwind
colors: {
  custom: {
    50: '#cebdef',
    500: '#b8a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2e7;
$custom-light: #cebdef;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2e7",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 259.13,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75618,
    "c": 0.09989,
    "h": 298.6
  },
  "luminance": 0.41801
}

Semantic roles & 50–950 ramp

primary
#B8A2E7
secondary
#E9F0DB
accent
#C71F91
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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