#B8A2DB#B8A2DB

#B8A2DB is a light, moderate violet. Relative luminance 0.411; OKLCH L 75.1% C 0.084 H 302.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B8A2DB
RGBrgb(184, 162, 219)
HSLhsl(263, 44%, 75%)
HSVhsv(263, 26%, 86%)
CMYKcmyk(16%, 26%, 0%, 14.1%)
CIE-LABlab(70.28, 19.17, -25.93)
CIE-LCHlch(70.28, 32.25, 306.47°)
OKLaboklab(75.12% 0.0445 -0.071)
OKLCHoklch(75.12% 0.084 302.1)
XYZxyz(45.4711, 41.1455, 72.5504)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2DB #C5DBA2
analogous
#A2A9DB #B8A2DB #D5A2DB
triadic
#B8A2DB #DBB8A2 #A2DBB8
tetradic
#B8A2DB #DBA2A9 #C5DBA2 #A2DBD5
square
#B8A2DB #DBA2A9 #C5DBA2 #A2DBD5
split-complementary
#B8A2DB #DBD5A2 #A9DBA2
monochromatic
#754AB9 #9676CA #B8A2DB #DACEEC #EEE9F6

Accessibility & contrast

On white

2.28
#B8A2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B8A2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2DB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2DB#FFFFFF#000000##000000
##B8A2DB1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDD
Deuteranopia (green-blind)
#9BACD9
Tritanopia (blue-blind)
#B2AAB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8a2db;
/* rgb */ color: rgb(184, 162, 219);
/* oklch */ color: oklch(75.1% 0.084 302.1);
Tailwind
colors: {
  custom: {
    50: '#cebde6',
    500: '#b8a2db',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2db;
$custom-light: #cebde6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2db",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 219
  },
  "hsl": {
    "h": 263.158,
    "s": 44.186,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75118,
    "c": 0.08381,
    "h": 302.1
  },
  "luminance": 0.41145
}

Semantic roles & 50–950 ramp

primary
#B8A2DB
secondary
#E7EDDE
accent
#B72E82
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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