#B47EFF#B47EFF

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

Color values

HEX#B47EFF
RGBrgb(180, 126, 255)
HSLhsl(265, 100%, 75%)
HSVhsv(265, 51%, 100%)
CMYKcmyk(29.4%, 50.6%, 0%, 0%)
CIE-LABlab(63.21, 46.31, -56.79)
CIE-LCHlch(63.21, 73.28, 309.20°)
OKLaboklab(70.21% 0.0963 -0.1599)
OKLCHoklch(70.21% 0.187 301.1)
XYZxyz(44.3291, 31.8448, 98.3996)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EFF #C9FF7E
analogous
#7E89FF #B47EFF #F47EFF
triadic
#B47EFF #FFB47E #7EFFB4
tetradic
#B47EFF #FF7E89 #C9FF7E #7EFFF4
square
#B47EFF #FF7E89 #C9FF7E #7EFFF4
split-complementary
#B47EFF #FFF47E #89FF7E
monochromatic
#6D04FF #9041FF #B47EFF #D8BBFF #EDE0FF

Accessibility & contrast

On white

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

On black

7.37
#B47EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EFF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EFF#FFFFFF#000000##000000
##B47EFF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#A596B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b47eff;
/* rgb */ color: rgb(180, 126, 255);
/* oklch */ color: oklch(70.2% 0.187 301.1);
Tailwind
colors: {
  custom: {
    50: '#cea5ff',
    500: '#b47eff',
    950: '#000000',
  },
}
SCSS
$custom: #b47eff;
$custom-light: #cea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47eff",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 265.116,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.18669,
    "h": 301.1
  },
  "luminance": 0.31845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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