#B8A2DE#B8A2DE

#B8A2DE is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.2% C 0.088 H 301.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B8A2DE
RGBrgb(184, 162, 222)
HSLhsl(262, 48%, 75%)
HSVhsv(262, 27%, 87%)
CMYKcmyk(17.1%, 27%, 0%, 12.9%)
CIE-LABlab(70.39, 19.83, -27.41)
CIE-LCHlch(70.39, 33.83, 305.88°)
OKLaboklab(75.24% 0.0454 -0.0752)
OKLCHoklch(75.24% 0.088 301.1)
XYZxyz(45.8696, 41.3049, 74.6492)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2DE #C8DEA2
analogous
#A2AADE #B8A2DE #D6A2DE
triadic
#B8A2DE #DEB8A2 #A2DEB8
tetradic
#B8A2DE #DEA2AA #C8DEA2 #A2DED6
square
#B8A2DE #DEA2AA #C8DEA2 #A2DED6
split-complementary
#B8A2DE #DED6A2 #AADEA2
monochromatic
#7348BE #9675CE #B8A2DE #DACFEE #EEE8F7

Accessibility & contrast

On white

2.27
#B8A2DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B8A2DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2DE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2DE#FFFFFF#000000##000000
##B8A2DE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE1
Deuteranopia (green-blind)
#99ACDC
Tritanopia (blue-blind)
#B2ABB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8a2de;
/* rgb */ color: rgb(184, 162, 222);
/* oklch */ color: oklch(75.2% 0.088 301.1);
Tailwind
colors: {
  custom: {
    50: '#cebde8',
    500: '#b8a2de',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2de;
$custom-light: #cebde8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2de",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 222
  },
  "hsl": {
    "h": 262,
    "s": 47.619,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.08781,
    "h": 301.1
  },
  "luminance": 0.41305
}

Semantic roles & 50–950 ramp

primary
#B8A2DE
secondary
#E8EEDD
accent
#BB2B86
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A2DE

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

Preview Lab → · Contrast checker → · Palette generator →

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