#B8A2E2#B8A2E2

#B8A2E2 is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.4% C 0.093 H 299.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B8A2E2
RGBrgb(184, 162, 226)
HSLhsl(261, 52%, 76%)
HSVhsv(261, 28%, 89%)
CMYKcmyk(18.6%, 28.3%, 0%, 11.4%)
CIE-LABlab(70.54, 20.71, -29.37)
CIE-LCHlch(70.54, 35.94, 305.20°)
OKLaboklab(75.41% 0.0465 -0.0807)
OKLCHoklch(75.41% 0.093 299.9)
XYZxyz(46.4120, 41.5219, 77.5062)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2E2 #CCE2A2
analogous
#A2ACE2 #B8A2E2 #D8A2E2
triadic
#B8A2E2 #E2B8A2 #A2E2B8
tetradic
#B8A2E2 #E2A2AC #CCE2A2 #A2E2D8
square
#B8A2E2 #E2A2AC #CCE2A2 #A2E2D8
split-complementary
#B8A2E2 #E2D8A2 #ACE2A2
monochromatic
#7145C5 #9473D3 #B8A2E2 #DCD1F1 #EDE8F8

Accessibility & contrast

On white

2.26
#B8A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B8A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2E2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2E2#FFFFFF#000000##000000
##B8A2E21.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#B1ACB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a2e2;
/* rgb */ color: rgb(184, 162, 226);
/* oklch */ color: oklch(75.4% 0.093 299.9);
Tailwind
colors: {
  custom: {
    50: '#cebdeb',
    500: '#b8a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2e2;
$custom-light: #cebdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2e2",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 260.625,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75406,
    "c": 0.09318,
    "h": 299.9
  },
  "luminance": 0.41522
}

Semantic roles & 50–950 ramp

primary
#B8A2E2
secondary
#E8EFDC
accent
#C0268B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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