#B47EFE#B47EFE

#B47EFE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.185 H 301.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B47EFE
RGBrgb(180, 126, 254)
HSLhsl(265, 98%, 75%)
HSVhsv(265, 50%, 100%)
CMYKcmyk(29.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.16, 46.07, -56.32)
CIE-LCHlch(63.16, 72.77, 309.28°)
OKLaboklab(70.15% 0.0962 -0.1586)
OKLCHoklch(70.15% 0.186 301.2)
XYZxyz(44.1685, 31.7806, 97.5540)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EFE #C8FE7E
analogous
#7E88FE #B47EFE #F47EFE
triadic
#B47EFE #FEB47E #7EFEB4
tetradic
#B47EFE #FE7E88 #C8FE7E #7EFEF4
square
#B47EFE #FE7E88 #C8FE7E #7EFEF4
split-complementary
#B47EFE #FEF47E #88FE7E
monochromatic
#6D05FD #9141FE #B47EFE #D7BBFE #EDE1FF

Accessibility & contrast

On white

2.85
#B47EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B47EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EFE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EFE#FFFFFF#000000##000000
##B47EFE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#A696B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b47efe;
/* rgb */ color: rgb(180, 126, 254);
/* oklch */ color: oklch(70.2% 0.185 301.2);
Tailwind
colors: {
  custom: {
    50: '#cea5ff',
    500: '#b47efe',
    950: '#000000',
  },
}
SCSS
$custom: #b47efe;
$custom-light: #cea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47efe",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 265.313,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70151,
    "c": 0.1855,
    "h": 301.2
  },
  "luminance": 0.31781
}

Semantic roles & 50–950 ramp

primary
#B47EFE
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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