#B47AFD#B47AFD

#B47AFD is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.190 H 302.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B47AFD
RGBrgb(180, 122, 253)
HSLhsl(267, 97%, 74%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(28.9%, 51.8%, 0%, 0.8%)
CIE-LABlab(62.27, 47.99, -57.20)
CIE-LCHlch(62.27, 74.67, 310.00°)
OKLaboklab(69.47% 0.1012 -0.1611)
OKLCHoklch(69.47% 0.19 302.1)
XYZxyz(43.5075, 30.7142, 96.5458)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AFD #C3FD7A
analogous
#7A81FD #B47AFD #F67AFD
triadic
#B47AFD #FDB47A #7AFDB4
tetradic
#B47AFD #FD7A81 #C3FD7A #7AFDF6
square
#B47AFD #FD7A81 #C3FD7A #7AFDF6
split-complementary
#B47AFD #FDF67A #81FD7A
monochromatic
#7004F9 #923EFC #B47AFD #D6B6FE #EEE1FF

Accessibility & contrast

On white

2.94
#B47AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B47AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AFD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AFD#FFFFFF#000000##000000
##B47AFD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A693B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b47afd;
/* rgb */ color: rgb(180, 122, 253);
/* oklch */ color: oklch(69.5% 0.190 302.1);
Tailwind
colors: {
  custom: {
    50: '#cea2ff',
    500: '#b47afd',
    950: '#000000',
  },
}
SCSS
$custom: #b47afd;
$custom-light: #cea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47afd",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 266.565,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69469,
    "c": 0.19031,
    "h": 302.1
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#B47AFD
secondary
#E7F7D4
accent
#E60080
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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