#B8A2F3#B8A2F3

#B8A2F3 is a light, moderate violet. Relative luminance 0.425; OKLCH L 76.1% C 0.116 H 296.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B8A2F3
RGBrgb(184, 162, 243)
HSLhsl(256, 77%, 79%)
HSVhsv(256, 33%, 95%)
CMYKcmyk(24.3%, 33.3%, 0%, 4.7%)
CIE-LABlab(71.22, 24.61, -37.61)
CIE-LCHlch(71.22, 44.95, 303.20°)
OKLaboklab(76.15% 0.0509 -0.1043)
OKLCHoklch(76.15% 0.116 296)
XYZxyz(48.8614, 42.5016, 90.4060)
Luminance0.4250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2F3 #DDF3A2
analogous
#A2B5F3 #B8A2F3 #E0A2F3
triadic
#B8A2F3 #F3B8A2 #A2F3B8
tetradic
#B8A2F3 #F3A2B5 #DDF3A2 #A2F3E0
square
#B8A2F3 #F3A2B5 #DDF3A2 #A2F3E0
split-complementary
#B8A2F3 #F3E0A2 #B5F3A2
monochromatic
#6536E5 #8F6CEC #B8A2F3 #E1D8FA #EAE4FC

Accessibility & contrast

On white

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

On black

9.50
#B8A2F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2F3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2F3#FFFFFF#000000##000000
##B8A2F31.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#91ADF1
Tritanopia (blue-blind)
#ACAFC0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a2f3;
/* rgb */ color: rgb(184, 162, 243);
/* oklch */ color: oklch(76.1% 0.116 296.0);
Tailwind
colors: {
  custom: {
    50: '#cebdf7',
    500: '#b8a2f3',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2f3;
$custom-light: #cebdf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2f3",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 243
  },
  "hsl": {
    "h": 256.296,
    "s": 77.143,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76147,
    "c": 0.11603,
    "h": 296
  },
  "luminance": 0.42502
}

Semantic roles & 50–950 ramp

primary
#B8A2F3
secondary
#ECF3D8
accent
#D90CA2
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2F3

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

Preview Lab → · Contrast checker → · Palette generator →

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