#B47EF9#B47EF9

#B47EF9 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.179 H 302.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B47EF9
RGBrgb(180, 126, 249)
HSLhsl(266, 91%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(27.7%, 49.4%, 0%, 2.4%)
CIE-LABlab(62.90, 44.88, -54.00)
CIE-LCHlch(62.90, 70.21, 309.73°)
OKLaboklab(69.87% 0.0958 -0.1518)
OKLCHoklch(69.87% 0.179 302.3)
XYZxyz(43.3783, 31.4645, 93.3921)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EF9 #C3F97E
analogous
#7E85F9 #B47EF9 #F17EF9
triadic
#B47EF9 #F9B47E #7EF9B4
tetradic
#B47EF9 #F97E85 #C3F97E #7EF9F1
square
#B47EF9 #F97E85 #C3F97E #7EF9F1
split-complementary
#B47EF9 #F9F17E #85F97E
monochromatic
#700BF1 #9244F6 #B47EF9 #D6B8FC #EEE2FE

Accessibility & contrast

On white

2.88
#B47EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B47EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EF9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EF9#FFFFFF#000000##000000
##B47EF91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#A794B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47ef9;
/* rgb */ color: rgb(180, 126, 249);
/* oklch */ color: oklch(69.9% 0.179 302.3);
Tailwind
colors: {
  custom: {
    50: '#cda4fc',
    500: '#b47ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b47ef9;
$custom-light: #cda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ef9",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 266.341,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.17948,
    "h": 302.3
  },
  "luminance": 0.31465
}

Semantic roles & 50–950 ramp

primary
#B47EF9
secondary
#E7F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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