#9843A2#9843A2

#9843A2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.1% C 0.166 H 323.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9843A2
RGBrgb(152, 67, 162)
HSLhsl(294, 41%, 45%)
HSVhsv(294, 59%, 64%)
CMYKcmyk(6.2%, 58.6%, 0%, 36.5%)
CIE-LABlab(43.21, 49.32, -35.71)
CIE-LCHlch(43.21, 60.89, 324.10°)
OKLaboklab(53.13% 0.133 -0.099)
OKLCHoklch(53.13% 0.166 323.3)
XYZxyz(21.4770, 13.2995, 35.6112)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843A2 #4DA243
analogous
#6843A2 #9843A2 #A2437D
triadic
#9843A2 #A29843 #43A298
tetradic
#9843A2 #A26843 #4DA243 #437DA2
square
#9843A2 #A26843 #4DA243 #437DA2
split-complementary
#9843A2 #7DA243 #43A268
monochromatic
#471F4B #6F3177 #9843A2 #B564BF #CA8FD1

Accessibility & contrast

On white

5.74
#9843A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9843A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843A2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843A2#FFFFFF#000000##FFFFFF
##9843A21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#9A506C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9843a2;
/* rgb */ color: rgb(152, 67, 162);
/* oklch */ color: oklch(53.1% 0.166 323.3);
Tailwind
colors: {
  custom: {
    50: '#b97cbe',
    500: '#9843a2',
    950: '#000000',
  },
}
SCSS
$custom: #9843a2;
$custom-light: #b97cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9843a2",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 293.684,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.16577,
    "h": 323.3
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#9843A2
secondary
#8BBC85
accent
#D15663
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9843A2

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

Preview Lab → · Contrast checker → · Palette generator →

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