#9843BB#9843BB

#9843BB is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.190 H 314.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9843BB
RGBrgb(152, 67, 187)
HSLhsl(283, 47%, 50%)
HSVhsv(283, 64%, 73%)
CMYKcmyk(18.7%, 64.2%, 0%, 26.7%)
CIE-LABlab(44.63, 54.36, -48.21)
CIE-LCHlch(44.63, 72.66, 318.43°)
OKLaboklab(54.62% 0.1336 -0.1354)
OKLCHoklch(54.62% 0.19 314.6)
XYZxyz(23.9242, 14.2783, 48.4998)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843BB #66BB43
analogous
#5C43BB #9843BB #BB43A2
triadic
#9843BB #BB9843 #43BB98
tetradic
#9843BB #BB5C43 #66BB43 #43A2BB
square
#9843BB #BB5C43 #66BB43 #43A2BB
split-complementary
#9843BB #A2BB43 #43BB5C
monochromatic
#4F2361 #73338E #9843BB #B170CC #C99DDC

Accessibility & contrast

On white

5.45
#9843BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9843BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843BB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843BB#FFFFFF#000000##FFFFFF
##9843BB1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#955979
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9843bb;
/* rgb */ color: rgb(152, 67, 187);
/* oklch */ color: oklch(54.6% 0.190 314.6);
Tailwind
colors: {
  custom: {
    50: '#ba7dd0',
    500: '#9843bb',
    950: '#000000',
  },
}
SCSS
$custom: #9843bb;
$custom-light: #ba7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9843bb",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 282.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.19021,
    "h": 314.6
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#9843BB
secondary
#A2C892
accent
#D75178
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9843BB

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

Preview Lab → · Contrast checker → · Palette generator →

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