#B8A0EF#B8A0EF

#B8A0EF is a light, moderate violet. Relative luminance 0.416; OKLCH L 75.6% C 0.114 H 297.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B8A0EF
RGBrgb(184, 160, 239)
HSLhsl(258, 71%, 78%)
HSVhsv(258, 33%, 94%)
CMYKcmyk(23%, 33.1%, 0%, 6.3%)
CIE-LABlab(70.57, 24.79, -36.43)
CIE-LCHlch(70.57, 44.07, 304.24°)
OKLaboklab(75.6% 0.0527 -0.1009)
OKLCHoklch(75.6% 0.114 297.6)
XYZxyz(47.9144, 41.5636, 87.1429)
Luminance0.4156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A0EF #D7EFA0
analogous
#A0AFEF #B8A0EF #DFA0EF
triadic
#B8A0EF #EFB8A0 #A0EFB8
tetradic
#B8A0EF #EFA0AF #D7EFA0 #A0EFDF
square
#B8A0EF #EFA0AF #D7EFA0 #A0EFDF
split-complementary
#B8A0EF #EFDFA0 #AFEFA0
monochromatic
#6A37DD #916CE6 #B8A0EF #DFD4F8 #EBE5FB

Accessibility & contrast

On white

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

On black

9.31
#B8A0EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A0EF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A0EF#FFFFFF#000000##000000
##B8A0EF1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#ADADBD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a0ef;
/* rgb */ color: rgb(184, 160, 239);
/* oklch */ color: oklch(75.6% 0.114 297.6);
Tailwind
colors: {
  custom: {
    50: '#cebcf4',
    500: '#b8a0ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a0ef;
$custom-light: #cebcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a0ef",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 239
  },
  "hsl": {
    "h": 258.228,
    "s": 71.171,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75598,
    "c": 0.11383,
    "h": 297.6
  },
  "luminance": 0.41564
}

Semantic roles & 50–950 ramp

primary
#B8A0EF
secondary
#EAF2D9
accent
#D31299
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A0EF

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

Preview Lab → · Contrast checker → · Palette generator →

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