#B47AFA#B47AFA

#B47AFA is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.187 H 302.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B47AFA
RGBrgb(180, 122, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(28%, 51.2%, 0%, 2%)
CIE-LABlab(62.10, 47.28, -55.81)
CIE-LCHlch(62.10, 73.14, 310.27°)
OKLaboklab(69.3% 0.101 -0.1571)
OKLCHoklch(69.3% 0.187 302.7)
XYZxyz(43.0334, 30.5245, 94.0486)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AFA #C0FA7A
analogous
#7A80FA #B47AFA #F47AFA
triadic
#B47AFA #FAB47A #7AFAB4
tetradic
#B47AFA #FA7A80 #C0FA7A #7AFAF4
square
#B47AFA #FA7A80 #C0FA7A #7AFAF4
split-complementary
#B47AFA #FAF47A #80FA7A
monochromatic
#7209F1 #933FF8 #B47AFA #D5B5FC #EEE2FE

Accessibility & contrast

On white

2.96
#B47AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B47AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AFA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AFA#FFFFFF#000000##000000
##B47AFA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#A792AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b47afa;
/* rgb */ color: rgb(180, 122, 250);
/* oklch */ color: oklch(69.3% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#cda2fc',
    500: '#b47afa',
    950: '#000000',
  },
}
SCSS
$custom: #b47afa;
$custom-light: #cda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b47afa",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 267.188,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69297,
    "c": 0.18676,
    "h": 302.7
  },
  "luminance": 0.30524
}

Semantic roles & 50–950 ramp

primary
#B47AFA
secondary
#E7F6D5
accent
#E6007E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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