#B943DF#B943DF

#B943DF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.236 H 316.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B943DF
RGBrgb(185, 67, 223)
HSLhsl(285, 71%, 57%)
HSVhsv(285, 70%, 87%)
CMYKcmyk(17%, 70%, 0%, 12.5%)
CIE-LABlab(51.45, 68.79, -57.74)
CIE-LCHlch(51.45, 89.81, 319.99°)
OKLaboklab(61.17% 0.1719 -0.1623)
OKLCHoklch(61.17% 0.236 316.6)
XYZxyz(35.3320, 19.6577, 71.7309)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B943DF #69DF43
analogous
#6B43DF #B943DF #DF43B7
triadic
#B943DF #DFB943 #43DFB9
tetradic
#B943DF #DF6B43 #69DF43 #43B7DF
square
#B943DF #DF6B43 #69DF43 #43B7DF
split-complementary
#B943DF #B7DF43 #43DF6B
monochromatic
#72188F #9C21C4 #B943DF #CC77E8 #E0ACF1

Accessibility & contrast

On white

4.26
#B943DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B943DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B943DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B943DF#FFFFFF#000000##000000
##B943DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#B7628D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b943df;
/* rgb */ color: rgb(185, 67, 223);
/* oklch */ color: oklch(61.2% 0.236 316.6);
Tailwind
colors: {
  custom: {
    50: '#d281ea',
    500: '#b943df',
    950: '#000000',
  },
}
SCSS
$custom: #b943df;
$custom-light: #d281ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b943df",
  "rgb": {
    "r": 185,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 285.385,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.23639,
    "h": 316.6
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#B943DF
secondary
#AFDF9F
accent
#EE3A66
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B943DF

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

Preview Lab → · Contrast checker → · Palette generator →

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