#9843E4#9843E4

#9843E4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.4% C 0.231 H 304.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9843E4
RGBrgb(152, 67, 228)
HSLhsl(272, 75%, 58%)
HSVhsv(272, 71%, 89%)
CMYKcmyk(33.3%, 70.6%, 0%, 10.6%)
CIE-LABlab(47.35, 63.36, -67.40)
CIE-LCHlch(47.35, 92.51, 313.23°)
OKLaboklab(57.44% 0.1294 -0.1918)
OKLCHoklch(57.44% 0.231 304)
XYZxyz(28.9564, 16.2912, 75.0028)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843E4 #8FE443
analogous
#4743E4 #9843E4 #E443E0
triadic
#9843E4 #E49843 #43E498
tetradic
#9843E4 #E44743 #8FE443 #43E0E4
square
#9843E4 #E44743 #8FE443 #43E0E4
split-complementary
#9843E4 #E0E443 #43E447
monochromatic
#5A1697 #7A1DCC #9843E4 #B579EC #D3AEF3

Accessibility & contrast

On white

4.93
#9843E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9843E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843E4#FFFFFF#000000##FFFFFF
##9843E41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#89698F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9843e4;
/* rgb */ color: rgb(152, 67, 228);
/* oklch */ color: oklch(57.4% 0.231 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc7eed',
    500: '#9843e4',
    950: '#000000',
  },
}
SCSS
$custom: #9843e4;
$custom-light: #bc7eed;
$custom-dark: #000000;
JSON
{
  "hex": "#9843e4",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 228
  },
  "hsl": {
    "h": 271.677,
    "s": 74.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.23137,
    "h": 304
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#9843E4
secondary
#C0E2A1
accent
#F2368F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9843E4

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

Preview Lab → · Contrast checker → · Palette generator →

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