#B47AF7#B47AF7

#B47AF7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.183 H 303.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B47AF7
RGBrgb(180, 122, 247)
HSLhsl(268, 89%, 72%)
HSVhsv(268, 51%, 97%)
CMYKcmyk(27.1%, 50.6%, 0%, 3.1%)
CIE-LABlab(61.94, 46.58, -54.41)
CIE-LCHlch(61.94, 71.62, 310.56°)
OKLaboklab(69.13% 0.1008 -0.153)
OKLCHoklch(69.13% 0.183 303.4)
XYZxyz(42.5667, 30.3378, 91.5909)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AF7 #BDF77A
analogous
#7A7FF7 #B47AF7 #F27AF7
triadic
#B47AF7 #F7B47A #7AF7B4
tetradic
#B47AF7 #F77A7F #BDF77A #7AF7F2
square
#B47AF7 #F77A7F #BDF77A #7AF7F2
split-complementary
#B47AF7 #F7F27A #7FF77A
monochromatic
#730EE9 #9340F4 #B47AF7 #D5B4FA #EFE2FD

Accessibility & contrast

On white

2.97
#B47AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B47AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AF7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AF7#FFFFFF#000000##000000
##B47AF71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#6296F4
Tritanopia (blue-blind)
#A891AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b47af7;
/* rgb */ color: rgb(180, 122, 247);
/* oklch */ color: oklch(69.1% 0.183 303.4);
Tailwind
colors: {
  custom: {
    50: '#cda2fa',
    500: '#b47af7',
    950: '#000000',
  },
}
SCSS
$custom: #b47af7;
$custom-light: #cda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b47af7",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 267.84,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.18321,
    "h": 303.4
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#B47AF7
secondary
#E7F5D6
accent
#E5007B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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