#B943E3#B943E3

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

Color values

HEX#B943E3
RGBrgb(185, 67, 227)
HSLhsl(284, 74%, 58%)
HSVhsv(284, 70%, 89%)
CMYKcmyk(18.5%, 70.5%, 0%, 11%)
CIE-LABlab(51.70, 69.56, -59.60)
CIE-LCHlch(51.70, 91.60, 319.41°)
OKLaboklab(61.43% 0.1715 -0.1678)
OKLCHoklch(61.43% 0.24 315.6)
XYZxyz(35.8777, 19.8760, 74.6047)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B943E3 #6DE343
analogous
#6943E3 #B943E3 #E343BD
triadic
#B943E3 #E3B943 #43E3B9
tetradic
#B943E3 #E36943 #6DE343 #43BDE3
square
#B943E3 #E36943 #6DE343 #43BDE3
split-complementary
#B943E3 #BDE343 #43E369
monochromatic
#741695 #9D1ECB #B943E3 #CD78EB #E1AEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B943E3#FFFFFF#000000##000000
##B943E31.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)
#0074E8
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#B6648F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b943e3;
/* rgb */ color: rgb(185, 67, 227);
/* oklch */ color: oklch(61.4% 0.240 315.6);
Tailwind
colors: {
  custom: {
    50: '#d281ed',
    500: '#b943e3',
    950: '#000000',
  },
}
SCSS
$custom: #b943e3;
$custom-light: #d281ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b943e3",
  "rgb": {
    "r": 185,
    "g": 67,
    "b": 227
  },
  "hsl": {
    "h": 284.25,
    "s": 74.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.23992,
    "h": 315.6
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#B943E3
secondary
#B2E1A1
accent
#F13768
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B943E3

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

Preview Lab → · Contrast checker → · Palette generator →

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