#B7A4E2#B7A4E2

#B7A4E2 is a light, moderate violet. Relative luminance 0.421; OKLCH L 75.7% C 0.090 H 298.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B7A4E2
RGBrgb(183, 164, 226)
HSLhsl(258, 52%, 76%)
HSVhsv(258, 27%, 89%)
CMYKcmyk(19%, 27.4%, 0%, 11.4%)
CIE-LABlab(70.95, 19.29, -28.75)
CIE-LCHlch(70.95, 34.62, 303.86°)
OKLaboklab(75.7% 0.0425 -0.079)
OKLCHoklch(75.7% 0.09 298.3)
XYZxyz(46.5284, 42.1090, 77.6133)
Luminance0.4211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A4E2 #CFE2A4
analogous
#A4B0E2 #B7A4E2 #D6A4E2
triadic
#B7A4E2 #E2B7A4 #A4E2B7
tetradic
#B7A4E2 #E2A4B0 #CFE2A4 #A4E2D6
square
#B7A4E2 #E2A4B0 #CFE2A4 #A4E2D6
split-complementary
#B7A4E2 #E2D6A4 #B0E2A4
monochromatic
#6E47C4 #9276D3 #B7A4E2 #DCD2F1 #EDE8F8

Accessibility & contrast

On white

2.23
#B7A4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B7A4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A4E2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A4E2#FFFFFF#000000##000000
##B7A4E21.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE5
Deuteranopia (green-blind)
#99ADE0
Tritanopia (blue-blind)
#AFAEBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7a4e2;
/* rgb */ color: rgb(183, 164, 226);
/* oklch */ color: oklch(75.7% 0.090 298.3);
Tailwind
colors: {
  custom: {
    50: '#cdbfeb',
    500: '#b7a4e2',
    950: '#000000',
  },
}
SCSS
$custom: #b7a4e2;
$custom-light: #cdbfeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a4e2",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 258.387,
    "s": 51.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75698,
    "c": 0.08973,
    "h": 298.3
  },
  "luminance": 0.42109
}

Semantic roles & 50–950 ramp

primary
#B7A4E2
secondary
#E9EFDC
accent
#BF2690
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B7A4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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