#B947E4#B947E4

#B947E4 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.236 H 315.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B947E4
RGBrgb(185, 71, 228)
HSLhsl(284, 74%, 59%)
HSVhsv(284, 69%, 89%)
CMYKcmyk(18.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(52.31, 68.19, -59.17)
CIE-LCHlch(52.31, 90.28, 319.05°)
OKLaboklab(61.89% 0.1674 -0.1666)
OKLCHoklch(61.89% 0.236 315.1)
XYZxyz(36.2621, 20.4235, 75.4157)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B947E4 #72E447
analogous
#6A47E4 #B947E4 #E447C0
triadic
#B947E4 #E4B947 #47E4B9
tetradic
#B947E4 #E46A47 #72E447 #47C0E4
square
#B947E4 #E46A47 #72E447 #47C0E4
split-complementary
#B947E4 #C0E447 #47E46A
monochromatic
#76179A #9F1ECF #B947E4 #CD7CEC #E2B2F4

Accessibility & contrast

On white

4.13
#B947E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B947E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B947E4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B947E4#FFFFFF#000000##000000
##B947E41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#B66791
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b947e4;
/* rgb */ color: rgb(185, 71, 228);
/* oklch */ color: oklch(61.9% 0.236 315.1);
Tailwind
colors: {
  custom: {
    50: '#d283ed',
    500: '#b947e4',
    950: '#000000',
  },
}
SCSS
$custom: #b947e4;
$custom-light: #d283ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b947e4",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 283.567,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.23617,
    "h": 315.1
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#B947E4
secondary
#B5E2A4
accent
#F1376A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B947E4

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

Preview Lab → · Contrast checker → · Palette generator →

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