#B947DA#B947DA

#B947DA is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.227 H 317.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B947DA
RGBrgb(185, 71, 218)
HSLhsl(287, 67%, 57%)
HSVhsv(287, 67%, 85%)
CMYKcmyk(15.1%, 67.4%, 0%, 14.5%)
CIE-LABlab(51.71, 66.25, -54.48)
CIE-LCHlch(51.71, 85.78, 320.57°)
OKLaboklab(61.26% 0.1681 -0.1528)
OKLCHoklch(61.26% 0.227 317.7)
XYZxyz(34.9139, 19.8842, 68.3150)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B947DA #68DA47
analogous
#7047DA #B947DA #DA47B1
triadic
#B947DA #DAB947 #47DAB9
tetradic
#B947DA #DA7047 #68DA47 #47B1DA
square
#B947DA #DA7047 #68DA47 #47B1DA
split-complementary
#B947DA #B1DA47 #47DA70
monochromatic
#721C8B #9C26BE #B947DA #CC7AE4 #E0ADEE

Accessibility & contrast

On white

4.22
#B947DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B947DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B947DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B947DA#FFFFFF#000000##000000
##B947DA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#B8638B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b947da;
/* rgb */ color: rgb(185, 71, 218);
/* oklch */ color: oklch(61.3% 0.227 317.7);
Tailwind
colors: {
  custom: {
    50: '#d283e6',
    500: '#b947da',
    950: '#000000',
  },
}
SCSS
$custom: #b947da;
$custom-light: #d283e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b947da",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 286.531,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.22717,
    "h": 317.7
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#B947DA
secondary
#AEDCA0
accent
#E93E65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B947DA

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

Preview Lab → · Contrast checker → · Palette generator →

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