#9843C8#9843C8

#9843C8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.203 H 310.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9843C8
RGBrgb(152, 67, 200)
HSLhsl(278, 55%, 52%)
HSVhsv(278, 67%, 78%)
CMYKcmyk(24%, 66.5%, 0%, 21.6%)
CIE-LABlab(45.44, 57.13, -54.46)
CIE-LCHlch(45.44, 78.93, 316.37°)
OKLaboklab(55.47% 0.1329 -0.1537)
OKLCHoklch(55.47% 0.203 310.8)
XYZxyz(25.3794, 14.8604, 56.1638)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843C8 #73C843
analogous
#5643C8 #9843C8 #C843B6
triadic
#9843C8 #C89843 #43C898
tetradic
#9843C8 #C85643 #73C843 #43B6C8
square
#9843C8 #C85643 #73C843 #43B6C8
split-complementary
#9843C8 #B6C843 #43C856
monochromatic
#532170 #772F9F #9843C8 #B272D6 #CCA2E4

Accessibility & contrast

On white

5.29
#9843C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9843C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843C8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843C8#FFFFFF#000000##FFFFFF
##9843C81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#925E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9843c8;
/* rgb */ color: rgb(152, 67, 200);
/* oklch */ color: oklch(55.5% 0.203 310.8);
Tailwind
colors: {
  custom: {
    50: '#ba7dd9',
    500: '#9843c8',
    950: '#000000',
  },
}
SCSS
$custom: #9843c8;
$custom-light: #ba7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9843c8",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 278.346,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.20321,
    "h": 310.8
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#9843C8
secondary
#ABD096
accent
#DE4A7F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9843C8

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

Preview Lab → · Contrast checker → · Palette generator →

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