#B8A4F2#B8A4F2

#B8A4F2 is a light, moderate violet. Relative luminance 0.432; OKLCH L 76.5% C 0.112 H 295.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B8A4F2
RGBrgb(184, 164, 242)
HSLhsl(255, 75%, 80%)
HSVhsv(255, 32%, 95%)
CMYKcmyk(24%, 32.2%, 0%, 5.1%)
CIE-LABlab(71.66, 23.26, -36.38)
CIE-LCHlch(71.66, 43.18, 302.60°)
OKLaboklab(76.47% 0.0479 -0.1008)
OKLCHoklch(76.47% 0.112 295.4)
XYZxyz(49.0659, 43.1516, 89.7313)
Luminance0.4315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4F2 #DEF2A4
analogous
#A4B7F2 #B8A4F2 #DFA4F2
triadic
#B8A4F2 #F2B8A4 #A4F2B8
tetradic
#B8A4F2 #F2A4B7 #DEF2A4 #A4F2DF
square
#B8A4F2 #F2A4B7 #DEF2A4 #A4F2DF
split-complementary
#B8A4F2 #F2DFA4 #B7F2A4
monochromatic
#6439E3 #8E6EEA #B8A4F2 #E2DAFA #EAE4FB

Accessibility & contrast

On white

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

On black

9.63
#B8A4F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4F2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4F2#FFFFFF#000000##000000
##B8A4F21.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#93AFF0
Tritanopia (blue-blind)
#ACB1C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a4f2;
/* rgb */ color: rgb(184, 164, 242);
/* oklch */ color: oklch(76.5% 0.112 295.4);
Tailwind
colors: {
  custom: {
    50: '#cebff6',
    500: '#b8a4f2',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4f2;
$custom-light: #cebff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4f2",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 242
  },
  "hsl": {
    "h": 255.385,
    "s": 75,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76472,
    "c": 0.11155,
    "h": 295.4
  },
  "luminance": 0.43152
}

Semantic roles & 50–950 ramp

primary
#B8A4F2
secondary
#ECF3D8
accent
#D70EA4
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4F2

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

Preview Lab → · Contrast checker → · Palette generator →

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