#B8A5FC#B8A5FC

#B8A5FC is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.1% C 0.123 H 293.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B8A5FC
RGBrgb(184, 165, 252)
HSLhsl(253, 94%, 82%)
HSVhsv(253, 35%, 99%)
CMYKcmyk(27%, 34.5%, 0%, 1.2%)
CIE-LABlab(72.31, 25.07, -40.78)
CIE-LCHlch(72.31, 47.87, 301.58°)
OKLaboklab(77.11% 0.0489 -0.1134)
OKLCHoklch(77.11% 0.124 293.3)
XYZxyz(50.7887, 44.1282, 97.9184)
Luminance0.4413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5FC #E9FCA5
analogous
#A5BEFC #B8A5FC #E3A5FC
triadic
#B8A5FC #FCB8A5 #A5FCB8
tetradic
#B8A5FC #FCA5BE #E9FCA5 #A5FCE3
square
#B8A5FC #FCA5BE #E9FCA5 #A5FCE3
split-complementary
#B8A5FC #FCE3A5 #BEFCA5
monochromatic
#5B2FF8 #896AFA #B8A5FC #E7E0FE #E8E1FE

Accessibility & contrast

On white

2.14
#B8A5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B8A5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5FC
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5FC#FFFFFF#000000##000000
##B8A5FC1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#A9B4C5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a5fc;
/* rgb */ color: rgb(184, 165, 252);
/* oklch */ color: oklch(77.1% 0.123 293.3);
Tailwind
colors: {
  custom: {
    50: '#cfbffd',
    500: '#b8a5fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5fc;
$custom-light: #cfbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5fc",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 253.103,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77111,
    "c": 0.1235,
    "h": 293.3
  },
  "luminance": 0.44129
}

Semantic roles & 50–950 ramp

primary
#B8A5FC
secondary
#EFF6D5
accent
#E600B3
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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