#B47DF6#B47DF6

#B47DF6 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.177 H 303.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B47DF6
RGBrgb(180, 125, 246)
HSLhsl(267, 87%, 73%)
HSVhsv(267, 49%, 96%)
CMYKcmyk(26.8%, 49.2%, 0%, 3.5%)
CIE-LABlab(62.53, 44.72, -52.93)
CIE-LCHlch(62.53, 69.29, 310.19°)
OKLaboklab(69.54% 0.0968 -0.1487)
OKLCHoklch(69.54% 0.177 303.1)
XYZxyz(42.7869, 31.0244, 90.9051)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DF6 #BFF67D
analogous
#7D82F6 #B47DF6 #F17DF6
triadic
#B47DF6 #F6B47D #7DF6B4
tetradic
#B47DF6 #F67D82 #BFF67D #7DF6F1
square
#B47DF6 #F67D82 #BFF67D #7DF6F1
split-complementary
#B47DF6 #F6F17D #82F67D
monochromatic
#7210E9 #9344F2 #B47DF6 #D5B6FA #EEE2FD

Accessibility & contrast

On white

2.91
#B47DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B47DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DF6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DF6#FFFFFF#000000##000000
##B47DF61.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#A893AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47df6;
/* rgb */ color: rgb(180, 125, 246);
/* oklch */ color: oklch(69.5% 0.177 303.1);
Tailwind
colors: {
  custom: {
    50: '#cda4fa',
    500: '#b47df6',
    950: '#000000',
  },
}
SCSS
$custom: #b47df6;
$custom-light: #cda4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b47df6",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 267.273,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69544,
    "c": 0.17741,
    "h": 303.1
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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