#B47EFA#B47EFA

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

Color values

HEX#B47EFA
RGBrgb(180, 126, 250)
HSLhsl(266, 93%, 74%)
HSVhsv(266, 50%, 98%)
CMYKcmyk(28%, 49.6%, 0%, 2%)
CIE-LABlab(62.95, 45.12, -54.46)
CIE-LCHlch(62.95, 70.72, 309.64°)
OKLaboklab(69.93% 0.0959 -0.1531)
OKLCHoklch(69.93% 0.181 302.1)
XYZxyz(43.5347, 31.5271, 94.2157)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EFA #C4FA7E
analogous
#7E86FA #B47EFA #F27EFA
triadic
#B47EFA #FAB47E #7EFAB4
tetradic
#B47EFA #FA7E86 #C4FA7E #7EFAF2
square
#B47EFA #FA7E86 #C4FA7E #7EFAF2
split-complementary
#B47EFA #FAF27E #86FA7E
monochromatic
#7009F4 #9243F8 #B47EFA #D6B9FC #EEE2FE

Accessibility & contrast

On white

2.87
#B47EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B47EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EFA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EFA#FFFFFF#000000##000000
##B47EFA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#A795B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47efa;
/* rgb */ color: rgb(180, 126, 250);
/* oklch */ color: oklch(69.9% 0.181 302.1);
Tailwind
colors: {
  custom: {
    50: '#cda5fc',
    500: '#b47efa',
    950: '#000000',
  },
}
SCSS
$custom: #b47efa;
$custom-light: #cda5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b47efa",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 266.129,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.18069,
    "h": 302.1
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#B47EFA
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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