#B47AF5#B47AF5

#B47AF5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.181 H 303.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B47AF5
RGBrgb(180, 122, 245)
HSLhsl(268, 86%, 72%)
HSVhsv(268, 50%, 96%)
CMYKcmyk(26.5%, 50.2%, 0%, 3.9%)
CIE-LABlab(61.84, 46.11, -53.47)
CIE-LCHlch(61.84, 70.61, 310.77°)
OKLaboklab(69.02% 0.1006 -0.1502)
OKLCHoklch(69.02% 0.181 303.8)
XYZxyz(42.2598, 30.2151, 89.9742)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AF5 #BBF57A
analogous
#7A7EF5 #B47AF5 #F27AF5
triadic
#B47AF5 #F5B47A #7AF5B4
tetradic
#B47AF5 #F57A7E #BBF57A #7AF5F2
square
#B47AF5 #F57A7E #BBF57A #7AF5F2
split-complementary
#B47AF5 #F5F27A #7EF57A
monochromatic
#7411E3 #9441F1 #B47AF5 #D4B3F9 #EFE3FD

Accessibility & contrast

On white

2.98
#B47AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B47AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AF5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AF5#FFFFFF#000000##000000
##B47AF51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#A990AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b47af5;
/* rgb */ color: rgb(180, 122, 245);
/* oklch */ color: oklch(69.0% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#cda2f9',
    500: '#b47af5',
    950: '#000000',
  },
}
SCSS
$custom: #b47af5;
$custom-light: #cda2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b47af5",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 268.293,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69015,
    "c": 0.18084,
    "h": 303.8
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#B47AF5
secondary
#E6F5D6
accent
#E30379
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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