#B4A7F3#B4A7F3

#B4A7F3 is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.7% C 0.108 H 291.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4A7F3
RGBrgb(180, 167, 243)
HSLhsl(250, 76%, 80%)
HSVhsv(250, 31%, 95%)
CMYKcmyk(25.9%, 31.3%, 0%, 4.7%)
CIE-LABlab(72.10, 20.66, -36.26)
CIE-LCHlch(72.10, 41.73, 299.68°)
OKLaboklab(76.75% 0.0396 -0.1005)
OKLCHoklch(76.75% 0.108 291.5)
XYZxyz(48.8148, 43.8110, 90.6612)
Luminance0.4381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A7F3 #E6F3A7
analogous
#A7C0F3 #B4A7F3 #DAA7F3
triadic
#B4A7F3 #F3B4A7 #A7F3B4
tetradic
#B4A7F3 #F3A7C0 #E6F3A7 #A7F3DA
square
#B4A7F3 #F3A7C0 #E6F3A7 #A7F3DA
split-complementary
#B4A7F3 #F3DAA7 #C0F3A7
monochromatic
#583BE4 #8671EC #B4A7F3 #E2DDFA #E8E4FB

Accessibility & contrast

On white

2.15
#B4A7F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B4A7F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A7F3
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A7F3#FFFFFF#000000##000000
##B4A7F31.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B2F6
Deuteranopia (green-blind)
#94AFF1
Tritanopia (blue-blind)
#A6B4C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4a7f3;
/* rgb */ color: rgb(180, 167, 243);
/* oklch */ color: oklch(76.7% 0.108 291.5);
Tailwind
colors: {
  custom: {
    50: '#ccc1f7',
    500: '#b4a7f3',
    950: '#000000',
  },
}
SCSS
$custom: #b4a7f3;
$custom-light: #ccc1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a7f3",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 243
  },
  "hsl": {
    "h": 250.263,
    "s": 76,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76747,
    "c": 0.10798,
    "h": 291.5
  },
  "luminance": 0.43812
}

Semantic roles & 50–950 ramp

primary
#B4A7F3
secondary
#EEF3D8
accent
#D80DB5
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B4A7F3

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

Preview Lab → · Contrast checker → · Palette generator →

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