#B8A2F2#B8A2F2

#B8A2F2 is a light, moderate violet. Relative luminance 0.424; OKLCH L 76.1% C 0.115 H 296.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B8A2F2
RGBrgb(184, 162, 242)
HSLhsl(257, 75%, 79%)
HSVhsv(257, 33%, 95%)
CMYKcmyk(24%, 33.1%, 0%, 5.1%)
CIE-LABlab(71.17, 24.38, -37.13)
CIE-LCHlch(71.17, 44.41, 303.29°)
OKLaboklab(76.1% 0.0507 -0.1029)
OKLCHoklch(76.1% 0.115 296.2)
XYZxyz(48.7108, 42.4414, 89.6129)
Luminance0.4244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2F2 #DCF2A2
analogous
#A2B4F2 #B8A2F2 #E0A2F2
triadic
#B8A2F2 #F2B8A2 #A2F2B8
tetradic
#B8A2F2 #F2A2B4 #DCF2A2 #A2F2E0
square
#B8A2F2 #F2A2B4 #DCF2A2 #A2F2E0
split-complementary
#B8A2F2 #F2E0A2 #B4F2A2
monochromatic
#6637E3 #8F6CEA #B8A2F2 #E1D8FA #EBE4FB

Accessibility & contrast

On white

2.21
#B8A2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B8A2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2F2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2F2#FFFFFF#000000##000000
##B8A2F21.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#91ADF0
Tritanopia (blue-blind)
#ADAFBF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a2f2;
/* rgb */ color: rgb(184, 162, 242);
/* oklch */ color: oklch(76.1% 0.115 296.2);
Tailwind
colors: {
  custom: {
    50: '#cebdf6',
    500: '#b8a2f2',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2f2;
$custom-light: #cebdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2f2",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 256.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76102,
    "c": 0.11469,
    "h": 296.2
  },
  "luminance": 0.42442
}

Semantic roles & 50–950 ramp

primary
#B8A2F2
secondary
#ECF3D8
accent
#D80EA0
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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