#B47EF3#B47EF3

#B47EF3 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.172 H 303.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B47EF3
RGBrgb(180, 126, 243)
HSLhsl(268, 83%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.9%, 48.1%, 0%, 4.7%)
CIE-LABlab(62.59, 43.47, -51.18)
CIE-LCHlch(62.59, 67.15, 310.34°)
OKLaboklab(69.54% 0.0952 -0.1436)
OKLCHoklch(69.54% 0.172 303.5)
XYZxyz(42.4574, 31.0962, 88.5420)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EF3 #BDF37E
analogous
#7E83F3 #B47EF3 #EE7EF3
triadic
#B47EF3 #F3B47E #7EF3B4
tetradic
#B47EF3 #F37E83 #BDF37E #7EF3EE
square
#B47EF3 #F37E83 #BDF37E #7EF3EE
split-complementary
#B47EF3 #F3EE7E #83F37E
monochromatic
#7315E2 #9346EE #B47EF3 #D5B6F8 #EFE3FC

Accessibility & contrast

On white

2.91
#B47EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B47EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EF3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EF3#FFFFFF#000000##000000
##B47EF31.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#6A97F0
Tritanopia (blue-blind)
#A993AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47ef3;
/* rgb */ color: rgb(180, 126, 243);
/* oklch */ color: oklch(69.5% 0.172 303.5);
Tailwind
colors: {
  custom: {
    50: '#cda4f7',
    500: '#b47ef3',
    950: '#000000',
  },
}
SCSS
$custom: #b47ef3;
$custom-light: #cda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ef3",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 267.692,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.17226,
    "h": 303.5
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#B47EF3
secondary
#E7F4D7
accent
#DF067B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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