#B947DF#B947DF

#B947DF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.232 H 316.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B947DF
RGBrgb(185, 71, 223)
HSLhsl(285, 70%, 58%)
HSVhsv(285, 68%, 87%)
CMYKcmyk(17%, 68.2%, 0%, 12.5%)
CIE-LABlab(52.01, 67.21, -56.84)
CIE-LCHlch(52.01, 88.03, 319.78°)
OKLaboklab(61.57% 0.1678 -0.1597)
OKLCHoklch(61.57% 0.232 316.4)
XYZxyz(35.5781, 20.1499, 71.8129)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B947DF #6DDF47
analogous
#6D47DF #B947DF #DF47B9
triadic
#B947DF #DFB947 #47DFB9
tetradic
#B947DF #DF6D47 #6DDF47 #47B9DF
square
#B947DF #DF6D47 #6DDF47 #47B9DF
split-complementary
#B947DF #B9DF47 #47DF6D
monochromatic
#741992 #9D22C6 #B947DF #CD7BE8 #E1AFF1

Accessibility & contrast

On white

4.18
#B947DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B947DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B947DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B947DF#FFFFFF#000000##000000
##B947DF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#B7658E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b947df;
/* rgb */ color: rgb(185, 71, 223);
/* oklch */ color: oklch(61.6% 0.232 316.4);
Tailwind
colors: {
  custom: {
    50: '#d283ea',
    500: '#b947df',
    950: '#000000',
  },
}
SCSS
$custom: #b947df;
$custom-light: #d283ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b947df",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.23166,
    "h": 316.4
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#B947DF
secondary
#B2DFA2
accent
#ED3B67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B947DF

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

Preview Lab → · Contrast checker → · Palette generator →

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