#B7A2E7#B7A2E7

#B7A2E7 is a light, moderate violet. Relative luminance 0.417; OKLCH L 75.5% C 0.100 H 298.0°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B7A2E7
RGBrgb(183, 162, 231)
HSLhsl(258, 59%, 77%)
HSVhsv(258, 30%, 91%)
CMYKcmyk(20.8%, 29.9%, 0%, 9.4%)
CIE-LABlab(70.65, 21.54, -31.95)
CIE-LCHlch(70.65, 38.53, 303.99°)
OKLaboklab(75.53% 0.0467 -0.0881)
OKLCHoklch(75.53% 0.1 298)
XYZxyz(46.8694, 41.6772, 81.1611)
Luminance0.4168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A2E7 #D2E7A2
analogous
#A2B0E7 #B7A2E7 #DAA2E7
triadic
#B7A2E7 #E7B7A2 #A2E7B7
tetradic
#B7A2E7 #E7A2B0 #D2E7A2 #A2E7DA
square
#B7A2E7 #E7A2B0 #D2E7A2 #A2E7DA
split-complementary
#B7A2E7 #E7DAA2 #B0E7A2
monochromatic
#6C41CE #9171DA #B7A2E7 #DDD3F4 #ECE7F9

Accessibility & contrast

On white

2.25
#B7A2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B7A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A2E7
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A2E7#FFFFFF#000000##000000
##B7A2E71.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEA
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#AEADBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7a2e7;
/* rgb */ color: rgb(183, 162, 231);
/* oklch */ color: oklch(75.5% 0.100 298.0);
Tailwind
colors: {
  custom: {
    50: '#cdbdef',
    500: '#b7a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #b7a2e7;
$custom-light: #cdbdef;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a2e7",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 258.261,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75532,
    "c": 0.09972,
    "h": 298
  },
  "luminance": 0.41677
}

Semantic roles & 50–950 ramp

primary
#B7A2E7
secondary
#EAF0DB
accent
#C71F94
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B7A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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