#9843BE#9843BE

#9843BE is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.8% C 0.193 H 313.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9843BE
RGBrgb(152, 67, 190)
HSLhsl(281, 49%, 50%)
HSVhsv(281, 65%, 75%)
CMYKcmyk(20%, 64.7%, 0%, 25.5%)
CIE-LABlab(44.81, 54.99, -49.67)
CIE-LCHlch(44.81, 74.10, 317.91°)
OKLaboklab(54.81% 0.1335 -0.1397)
OKLCHoklch(54.81% 0.193 313.7)
XYZxyz(24.2487, 14.4081, 50.2089)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843BE #69BE43
analogous
#5A43BE #9843BE #BE43A7
triadic
#9843BE #BE9843 #43BE98
tetradic
#9843BE #BE5A43 #69BE43 #43A7BE
square
#9843BE #BE5A43 #69BE43 #43A7BE
split-complementary
#9843BE #A7BE43 #43BE5A
monochromatic
#502364 #743291 #9843BE #B170CE #CA9EDD

Accessibility & contrast

On white

5.41
#9843BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9843BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843BE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843BE#FFFFFF#000000##FFFFFF
##9843BE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C2
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#945B7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9843be;
/* rgb */ color: rgb(152, 67, 190);
/* oklch */ color: oklch(54.8% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#ba7dd2',
    500: '#9843be',
    950: '#000000',
  },
}
SCSS
$custom: #9843be;
$custom-light: #ba7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9843be",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 281.463,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.1932,
    "h": 313.7
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#9843BE
secondary
#A4CA93
accent
#D8507A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9843BE

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

Preview Lab → · Contrast checker → · Palette generator →

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