#9843BD#9843BD

#9843BD is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.192 H 314.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9843BD
RGBrgb(152, 67, 189)
HSLhsl(282, 48%, 50%)
HSVhsv(282, 65%, 74%)
CMYKcmyk(19.6%, 64.6%, 0%, 25.9%)
CIE-LABlab(44.75, 54.78, -49.18)
CIE-LCHlch(44.75, 73.62, 318.08°)
OKLaboklab(54.75% 0.1335 -0.1383)
OKLCHoklch(54.75% 0.192 314)
XYZxyz(24.1398, 14.3646, 49.6353)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843BD #68BD43
analogous
#5B43BD #9843BD #BD43A5
triadic
#9843BD #BD9843 #43BD98
tetradic
#9843BD #BD5B43 #68BD43 #43A5BD
square
#9843BD #BD5B43 #68BD43 #43A5BD
split-complementary
#9843BD #A5BD43 #43BD5B
monochromatic
#4F2363 #743390 #9843BD #B170CD #CA9EDD

Accessibility & contrast

On white

5.42
#9843BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9843BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843BD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843BD#FFFFFF#000000##FFFFFF
##9843BD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#955A7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9843bd;
/* rgb */ color: rgb(152, 67, 189);
/* oklch */ color: oklch(54.7% 0.192 314.0);
Tailwind
colors: {
  custom: {
    50: '#ba7dd1',
    500: '#9843bd',
    950: '#000000',
  },
}
SCSS
$custom: #9843bd;
$custom-light: #ba7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9843bd",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 281.803,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.19221,
    "h": 314
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#9843BD
secondary
#A3C993
accent
#D85079
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9843BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9843BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva