#B943DC#B943DC

#B943DC is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.234 H 317.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B943DC
RGBrgb(185, 67, 220)
HSLhsl(286, 69%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(15.9%, 69.5%, 0%, 13.7%)
CIE-LABlab(51.26, 68.22, -56.33)
CIE-LCHlch(51.26, 88.47, 320.45°)
OKLaboklab(60.98% 0.1721 -0.1582)
OKLCHoklch(60.98% 0.234 317.4)
XYZxyz(34.9311, 19.4974, 69.6196)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B943DC #66DC43
analogous
#6D43DC #B943DC #DC43B2
triadic
#B943DC #DCB943 #43DCB9
tetradic
#B943DC #DC6D43 #66DC43 #43B2DC
square
#B943DC #DC6D43 #66DC43 #43B2DC
split-complementary
#B943DC #B2DC43 #43DC6D
monochromatic
#711A8B #9B23BE #B943DC #CC77E6 #DFAAEF

Accessibility & contrast

On white

4.29
#B943DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B943DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B943DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B943DC#FFFFFF#000000##000000
##B943DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#477ED8
Tritanopia (blue-blind)
#B8618B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b943dc;
/* rgb */ color: rgb(185, 67, 220);
/* oklch */ color: oklch(61.0% 0.234 317.4);
Tailwind
colors: {
  custom: {
    50: '#d281e8',
    500: '#b943dc',
    950: '#000000',
  },
}
SCSS
$custom: #b943dc;
$custom-light: #d281e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b943dc",
  "rgb": {
    "r": 185,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 286.275,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.23375,
    "h": 317.4
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#B943DC
secondary
#ACDD9E
accent
#EB3C64
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B943DC

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

Preview Lab → · Contrast checker → · Palette generator →

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