#B8A2FF#B8A2FF

#B8A2FF is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.7% C 0.132 H 293.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B8A2FF
RGBrgb(184, 162, 255)
HSLhsl(254, 100%, 82%)
HSVhsv(254, 36%, 100%)
CMYKcmyk(27.8%, 36.5%, 0%, 0%)
CIE-LABlab(71.72, 27.47, -43.33)
CIE-LCHlch(71.72, 51.30, 302.37°)
OKLaboklab(76.7% 0.0536 -0.1207)
OKLCHoklch(76.7% 0.132 293.9)
XYZxyz(50.7331, 43.2503, 100.2636)
Luminance0.4325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2FF #E9FFA2
analogous
#A2BBFF #B8A2FF #E7A2FF
triadic
#B8A2FF #FFB8A2 #A2FFB8
tetradic
#B8A2FF #FFA2BB #E9FFA2 #A2FFE7
square
#B8A2FF #FFA2BB #E9FFA2 #A2FFE7
split-complementary
#B8A2FF #FFE7A2 #BBFFA2
monochromatic
#5B28FF #8965FF #B8A2FF #E7DFFF #E8E0FF

Accessibility & contrast

On white

2.18
#B8A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B8A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2FF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2FF#FFFFFF#000000##000000
##B8A2FF1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#8BAEFD
Tritanopia (blue-blind)
#A9B2C5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a2ff;
/* rgb */ color: rgb(184, 162, 255);
/* oklch */ color: oklch(76.7% 0.132 293.9);
Tailwind
colors: {
  custom: {
    50: '#cfbdff',
    500: '#b8a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2ff;
$custom-light: #cfbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2ff",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 254.194,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76703,
    "c": 0.1321,
    "h": 293.9
  },
  "luminance": 0.43251
}

Semantic roles & 50–950 ramp

primary
#B8A2FF
secondary
#EFF7D4
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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