#B47EF7#B47EF7

#B47EF7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.177 H 302.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B47EF7
RGBrgb(180, 126, 247)
HSLhsl(267, 88%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(27.1%, 49%, 0%, 3.1%)
CIE-LABlab(62.79, 44.41, -53.06)
CIE-LCHlch(62.79, 69.19, 309.93°)
OKLaboklab(69.76% 0.0956 -0.149)
OKLCHoklch(69.76% 0.177 302.7)
XYZxyz(43.0680, 31.3404, 91.7580)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EF7 #C1F77E
analogous
#7E84F7 #B47EF7 #F17EF7
triadic
#B47EF7 #F7B47E #7EF7B4
tetradic
#B47EF7 #F77E84 #C1F77E #7EF7F1
square
#B47EF7 #F77E84 #C1F77E #7EF7F1
split-complementary
#B47EF7 #F7F17E #84F77E
monochromatic
#710FEC #9244F3 #B47EF7 #D6B8FB #EEE2FD

Accessibility & contrast

On white

2.89
#B47EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B47EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EF7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EF7#FFFFFF#000000##000000
##B47EF71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#A894AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47ef7;
/* rgb */ color: rgb(180, 126, 247);
/* oklch */ color: oklch(69.8% 0.177 302.7);
Tailwind
colors: {
  custom: {
    50: '#cda4fa',
    500: '#b47ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b47ef7;
$custom-light: #cda4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ef7",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 266.777,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.17708,
    "h": 302.7
  },
  "luminance": 0.3134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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