#B8A8FF#B8A8FF

#B8A8FF is a light, vivid violet. Relative luminance 0.454; OKLCH L 77.8% C 0.123 H 291.7°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B8A8FF
RGBrgb(184, 168, 255)
HSLhsl(251, 100%, 83%)
HSVhsv(251, 34%, 100%)
CMYKcmyk(27.8%, 34.1%, 0%, 0%)
CIE-LABlab(73.16, 24.13, -41.08)
CIE-LCHlch(73.16, 47.64, 300.43°)
OKLaboklab(77.8% 0.0455 -0.1143)
OKLCHoklch(77.8% 0.123 291.7)
XYZxyz(51.8153, 45.4147, 100.6244)
Luminance0.4542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8FF #EFFFA8
analogous
#A8C4FF #B8A8FF #E3A8FF
triadic
#B8A8FF #FFB8A8 #A8FFB8
tetradic
#B8A8FF #FFA8C4 #EFFFA8 #A8FFE3
square
#B8A8FF #FFA8C4 #EFFFA8 #A8FFE3
split-complementary
#B8A8FF #FFE3A8 #C4FFA8
monochromatic
#542EFF #866BFF #B8A8FF #E6E0FF #E6E0FF

Accessibility & contrast

On white

2.08
#B8A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B8A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8FF
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8FF#FFFFFF#000000##000000
##B8A8FF1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#91B2FD
Tritanopia (blue-blind)
#A8B7C8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8a8ff;
/* rgb */ color: rgb(184, 168, 255);
/* oklch */ color: oklch(77.8% 0.123 291.7);
Tailwind
colors: {
  custom: {
    50: '#cfc2ff',
    500: '#b8a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8ff;
$custom-light: #cfc2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8ff",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 251.034,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.77803,
    "c": 0.12301,
    "h": 291.7
  },
  "luminance": 0.45416
}

Semantic roles & 50–950 ramp

primary
#B8A8FF
secondary
#F1F7D4
accent
#E600BB
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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