#B47AEA#B47AEA

#B47AEA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.168 H 306.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B47AEA
RGBrgb(180, 122, 234)
HSLhsl(271, 73%, 70%)
HSVhsv(271, 48%, 92%)
CMYKcmyk(23.1%, 47.9%, 0%, 8.2%)
CIE-LABlab(61.28, 43.57, -48.28)
CIE-LCHlch(61.28, 65.03, 312.06°)
OKLaboklab(68.41% 0.0995 -0.1351)
OKLCHoklch(68.41% 0.168 306.4)
XYZxyz(40.6302, 29.5632, 81.3918)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AEA #B0EA7A
analogous
#7C7AEA #B47AEA #EA7AE8
triadic
#B47AEA #EAB47A #7AEAB4
tetradic
#B47AEA #EA7C7A #B0EA7A #7AE8EA
square
#B47AEA #EA7C7A #B0EA7A #7AE8EA
split-complementary
#B47AEA #E8EA7A #7AEA7C
monochromatic
#7820CA #9645E2 #B47AEA #D2AFF2 #F0E4FB

Accessibility & contrast

On white

3.04
#B47AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B47AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B47AEA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AEA#FFFFFF#000000##000000
##B47AEA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#AC8DA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b47aea;
/* rgb */ color: rgb(180, 122, 234);
/* oklch */ color: oklch(68.4% 0.168 306.4);
Tailwind
colors: {
  custom: {
    50: '#cda2f1',
    500: '#b47aea',
    950: '#000000',
  },
}
SCSS
$custom: #b47aea;
$custom-light: #cda2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b47aea",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 271.071,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68412,
    "c": 0.1678,
    "h": 306.4
  },
  "luminance": 0.29563
}

Semantic roles & 50–950 ramp

primary
#B47AEA
secondary
#DFF0D0
accent
#D5116F
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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