#9843BF#9843BF

#9843BF is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.194 H 313.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9843BF
RGBrgb(152, 67, 191)
HSLhsl(281, 49%, 51%)
HSVhsv(281, 65%, 75%)
CMYKcmyk(20.4%, 64.9%, 0%, 25.1%)
CIE-LABlab(44.87, 55.21, -50.15)
CIE-LCHlch(44.87, 74.58, 317.75°)
OKLaboklab(54.87% 0.1334 -0.1411)
OKLCHoklch(54.87% 0.194 313.4)
XYZxyz(24.3584, 14.4520, 50.7865)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843BF #6ABF43
analogous
#5A43BF #9843BF #BF43A8
triadic
#9843BF #BF9843 #43BF98
tetradic
#9843BF #BF5A43 #6ABF43 #43A8BF
square
#9843BF #BF5A43 #6ABF43 #43A8BF
split-complementary
#9843BF #A8BF43 #43BF5A
monochromatic
#502265 #743293 #9843BF #B171CF #CA9EDE

Accessibility & contrast

On white

5.40
#9843BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9843BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843BF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843BF#FFFFFF#000000##FFFFFF
##9843BF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#945B7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9843bf;
/* rgb */ color: rgb(152, 67, 191);
/* oklch */ color: oklch(54.9% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#ba7dd3',
    500: '#9843bf',
    950: '#000000',
  },
}
SCSS
$custom: #9843bf;
$custom-light: #ba7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9843bf",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 281.129,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.1942,
    "h": 313.4
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#9843BF
secondary
#A5CA93
accent
#D94F7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9843BF

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

Preview Lab → · Contrast checker → · Palette generator →

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