#B8A5EF#B8A5EF

#B8A5EF is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.5% C 0.106 H 295.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B8A5EF
RGBrgb(184, 165, 239)
HSLhsl(255, 70%, 79%)
HSVhsv(255, 31%, 94%)
CMYKcmyk(23%, 31%, 0%, 6.3%)
CIE-LABlab(71.78, 22.01, -34.55)
CIE-LCHlch(71.78, 40.97, 302.49°)
OKLaboklab(76.53% 0.0457 -0.0955)
OKLCHoklch(76.53% 0.106 295.6)
XYZxyz(48.7987, 43.3321, 87.4376)
Luminance0.4333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5EF #DCEFA5
analogous
#A5B7EF #B8A5EF #DDA5EF
triadic
#B8A5EF #EFB8A5 #A5EFB8
tetradic
#B8A5EF #EFA5B7 #DCEFA5 #A5EFDD
square
#B8A5EF #EFA5B7 #DCEFA5 #A5EFDD
split-complementary
#B8A5EF #EFDDA5 #B7EFA5
monochromatic
#663DDD #8F71E6 #B8A5EF #E1D9F8 #EBE5FA

Accessibility & contrast

On white

2.17
#B8A5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B8A5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5EF
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5EF#FFFFFF#000000##000000
##B8A5EF1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#96AFED
Tritanopia (blue-blind)
#ADB1C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a5ef;
/* rgb */ color: rgb(184, 165, 239);
/* oklch */ color: oklch(76.5% 0.106 295.6);
Tailwind
colors: {
  custom: {
    50: '#cebff4',
    500: '#b8a5ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5ef;
$custom-light: #cebff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5ef",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 255.405,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76526,
    "c": 0.10592,
    "h": 295.6
  },
  "luminance": 0.43333
}

Semantic roles & 50–950 ramp

primary
#B8A5EF
secondary
#ECF2D9
accent
#D214A1
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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