#B47FEB#B47FEB

#B47FEB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.161 H 305.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B47FEB
RGBrgb(180, 127, 235)
HSLhsl(269, 73%, 71%)
HSVhsv(269, 46%, 92%)
CMYKcmyk(23.4%, 46%, 0%, 7.8%)
CIE-LABlab(62.41, 41.07, -47.04)
CIE-LCHlch(62.41, 62.45, 311.12°)
OKLaboklab(69.27% 0.0929 -0.1315)
OKLCHoklch(69.27% 0.161 305.2)
XYZxyz(41.4040, 30.8804, 82.3604)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47FEB #B6EB7F
analogous
#7F80EB #B47FEB #EA7FEB
triadic
#B47FEB #EBB47F #7FEBB4
tetradic
#B47FEB #EB7F80 #B6EB7F #7FEBEA
square
#B47FEB #EB7F80 #B6EB7F #7FEBEA
split-complementary
#B47FEB #EBEA7F #80EB7F
monochromatic
#7620CF #954AE3 #B47FEB #D3B4F3 #EFE5FB

Accessibility & contrast

On white

2.93
#B47FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B47FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47FEB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47FEB#FFFFFF#000000##000000
##B47FEB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#AB91AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47feb;
/* rgb */ color: rgb(180, 127, 235);
/* oklch */ color: oklch(69.3% 0.161 305.2);
Tailwind
colors: {
  custom: {
    50: '#cca5f2',
    500: '#b47feb',
    950: '#000000',
  },
}
SCSS
$custom: #b47feb;
$custom-light: #cca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b47feb",
  "rgb": {
    "r": 180,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 269.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.16102,
    "h": 305.2
  },
  "luminance": 0.3088
}

Semantic roles & 50–950 ramp

primary
#B47FEB
secondary
#E3F1D5
accent
#D51075
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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