#B6A5EA#B6A5EA

#B6A5EA is a light, moderate violet. Relative luminance 0.428; OKLCH L 76.1% C 0.099 H 295.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B6A5EA
RGBrgb(182, 165, 234)
HSLhsl(255, 62%, 78%)
HSVhsv(255, 29%, 92%)
CMYKcmyk(22.2%, 29.5%, 0%, 8.2%)
CIE-LABlab(71.42, 20.25, -32.41)
CIE-LCHlch(71.42, 38.22, 302.01°)
OKLaboklab(76.14% 0.0422 -0.0894)
OKLCHoklch(76.14% 0.099 295.3)
XYZxyz(47.5944, 42.7954, 83.5788)
Luminance0.4280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A5EA #D9EAA5
analogous
#A5B6EA #B6A5EA #D8A5EA
triadic
#B6A5EA #EAB6A5 #A5EAB6
tetradic
#B6A5EA #EAA5B6 #D9EAA5 #A5EAD8
square
#B6A5EA #EAA5B6 #D9EAA5 #A5EAD8
split-complementary
#B6A5EA #EAD8A5 #B6EAA5
monochromatic
#6642D3 #8E73DE #B6A5EA #DED7F6 #EBE6F9

Accessibility & contrast

On white

2.20
#B6A5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B6A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A5EA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A5EA#FFFFFF#000000##000000
##B6A5EA1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AFED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#ACB0BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6a5ea;
/* rgb */ color: rgb(182, 165, 234);
/* oklch */ color: oklch(76.1% 0.099 295.3);
Tailwind
colors: {
  custom: {
    50: '#cdbff1',
    500: '#b6a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #b6a5ea;
$custom-light: #cdbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a5ea",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 254.783,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76141,
    "c": 0.09889,
    "h": 295.3
  },
  "luminance": 0.42796
}

Semantic roles & 50–950 ramp

primary
#B6A5EA
secondary
#EBF1DA
accent
#CA1C9F
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B6A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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