#B47EF8#B47EF8

#B47EF8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.178 H 302.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B47EF8
RGBrgb(180, 126, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(27.4%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.85, 44.65, -53.53)
CIE-LCHlch(62.85, 69.70, 309.83°)
OKLaboklab(69.81% 0.0957 -0.1504)
OKLCHoklch(69.81% 0.178 302.5)
XYZxyz(43.2227, 31.4023, 92.5729)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EF8 #C2F87E
analogous
#7E85F8 #B47EF8 #F17EF8
triadic
#B47EF8 #F8B47E #7EF8B4
tetradic
#B47EF8 #F87E85 #C2F87E #7EF8F1
square
#B47EF8 #F87E85 #C2F87E #7EF8F1
split-complementary
#B47EF8 #F8F17E #85F87E
monochromatic
#710DEF #9244F5 #B47EF8 #D6B8FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.28
#B47EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EF8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EF8#FFFFFF#000000##000000
##B47EF81.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#A894B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47ef8;
/* rgb */ color: rgb(180, 126, 248);
/* oklch */ color: oklch(69.8% 0.178 302.5);
Tailwind
colors: {
  custom: {
    50: '#cda4fb',
    500: '#b47ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b47ef8;
$custom-light: #cda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ef8",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 266.557,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.17828,
    "h": 302.5
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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