#B47AFE#B47AFE

#B47AFE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.191 H 301.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B47AFE
RGBrgb(180, 122, 254)
HSLhsl(266, 99%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.1%, 52%, 0%, 0.4%)
CIE-LABlab(62.32, 48.23, -57.66)
CIE-LCHlch(62.32, 75.17, 309.91°)
OKLaboklab(69.53% 0.1013 -0.1625)
OKLCHoklch(69.53% 0.191 301.9)
XYZxyz(43.6672, 30.7780, 97.3869)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47AFE #C4FE7A
analogous
#7A82FE #B47AFE #F67AFE
triadic
#B47AFE #FEB47A #7AFEB4
tetradic
#B47AFE #FE7A82 #C4FE7A #7AFEF6
square
#B47AFE #FE7A82 #C4FE7A #7AFEF6
split-complementary
#B47AFE #FEF67A #82FE7A
monochromatic
#7002FC #923DFE #B47AFE #D6B7FE #EEE1FF

Accessibility & contrast

On white

2.93
#B47AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B47AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47AFE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47AFE#FFFFFF#000000##000000
##B47AFE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A693B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47afe;
/* rgb */ color: rgb(180, 122, 254);
/* oklch */ color: oklch(69.5% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#cea2ff',
    500: '#b47afe',
    950: '#000000',
  },
}
SCSS
$custom: #b47afe;
$custom-light: #cea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47afe",
  "rgb": {
    "r": 180,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 266.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.19149,
    "h": 301.9
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#B47AFE
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B47AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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