#B8A2F5#B8A2F5

#B8A2F5 is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.2% C 0.119 H 295.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A2F5
RGBrgb(184, 162, 245)
HSLhsl(256, 81%, 80%)
HSVhsv(256, 34%, 96%)
CMYKcmyk(24.9%, 33.9%, 0%, 3.9%)
CIE-LABlab(71.30, 25.08, -38.57)
CIE-LCHlch(71.30, 46.01, 303.04°)
OKLaboklab(76.24% 0.0514 -0.107)
OKLCHoklch(76.24% 0.119 295.6)
XYZxyz(49.1651, 42.6231, 92.0053)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2F5 #DFF5A2
analogous
#A2B5F5 #B8A2F5 #E2A2F5
triadic
#B8A2F5 #F5B8A2 #A2F5B8
tetradic
#B8A2F5 #F5A2B5 #DFF5A2 #A2F5E2
square
#B8A2F5 #F5A2B5 #DFF5A2 #A2F5E2
split-complementary
#B8A2F5 #F5E2A2 #B5F5A2
monochromatic
#6433E9 #8E6BEF #B8A2F5 #E2D9FB #EAE3FC

Accessibility & contrast

On white

2.20
#B8A2F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B8A2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2F5
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2F5#FFFFFF#000000##000000
##B8A2F51.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF8
Deuteranopia (green-blind)
#90ADF3
Tritanopia (blue-blind)
#ACB0C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a2f5;
/* rgb */ color: rgb(184, 162, 245);
/* oklch */ color: oklch(76.2% 0.119 295.6);
Tailwind
colors: {
  custom: {
    50: '#cebdf8',
    500: '#b8a2f5',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2f5;
$custom-light: #cebdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2f5",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 245
  },
  "hsl": {
    "h": 255.904,
    "s": 80.583,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76238,
    "c": 0.11872,
    "h": 295.6
  },
  "luminance": 0.42624
}

Semantic roles & 50–950 ramp

primary
#B8A2F5
secondary
#ECF4D7
accent
#DD09A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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