#B8A8F8#B8A8F8

#B8A8F8 is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.5% C 0.114 H 292.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B8A8F8
RGBrgb(184, 168, 248)
HSLhsl(252, 85%, 82%)
HSVhsv(252, 32%, 97%)
CMYKcmyk(25.8%, 32.3%, 0%, 2.7%)
CIE-LABlab(72.87, 22.45, -37.74)
CIE-LCHlch(72.87, 43.92, 300.74°)
OKLaboklab(77.49% 0.0439 -0.1047)
OKLCHoklch(77.49% 0.114 292.7)
XYZxyz(50.7090, 44.9722, 94.7976)
Luminance0.4497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8F8 #E8F8A8
analogous
#A8C0F8 #B8A8F8 #E0A8F8
triadic
#B8A8F8 #F8B8A8 #A8F8B8
tetradic
#B8A8F8 #F8A8C0 #E8F8A8 #A8F8E0
square
#B8A8F8 #F8A8C0 #E8F8A8 #A8F8E0
split-complementary
#B8A8F8 #F8E0A8 #C0F8A8
monochromatic
#5C37EF #8A6FF3 #B8A8F8 #E6E1FD #E8E3FD

Accessibility & contrast

On white

2.10
#B8A8F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#B8A8F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8F8
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8F8#FFFFFF#000000##000000
##B8A8F81.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FB
Deuteranopia (green-blind)
#95B1F6
Tritanopia (blue-blind)
#AAB6C5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a8f8;
/* rgb */ color: rgb(184, 168, 248);
/* oklch */ color: oklch(77.5% 0.114 292.7);
Tailwind
colors: {
  custom: {
    50: '#cec2fb',
    500: '#b8a8f8',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8f8;
$custom-light: #cec2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8f8",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 248
  },
  "hsl": {
    "h": 252,
    "s": 85.106,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77485,
    "c": 0.1135,
    "h": 292.7
  },
  "luminance": 0.44973
}

Semantic roles & 50–950 ramp

primary
#B8A8F8
secondary
#EFF5D6
accent
#E204B5
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A8F8

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

Preview Lab → · Contrast checker → · Palette generator →

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