#9843D8#9843D8

#9843D8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.219 H 306.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9843D8
RGBrgb(152, 67, 216)
HSLhsl(274, 66%, 55%)
HSVhsv(274, 69%, 85%)
CMYKcmyk(29.6%, 69%, 0%, 15.3%)
CIE-LABlab(46.51, 60.65, -61.94)
CIE-LCHlch(46.51, 86.69, 314.40°)
OKLaboklab(56.57% 0.1312 -0.1757)
OKLCHoklch(56.57% 0.219 306.8)
XYZxyz(27.3481, 15.6479, 66.5321)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843D8 #83D843
analogous
#4D43D8 #9843D8 #D843CE
triadic
#9843D8 #D89843 #43D898
tetradic
#9843D8 #D84D43 #83D843 #43CED8
square
#9843D8 #D84D43 #83D843 #43CED8
split-complementary
#9843D8 #CED843 #43D84D
monochromatic
#581C85 #7926B8 #9843D8 #B476E3 #D0A8ED

Accessibility & contrast

On white

5.09
#9843D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9843D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843D8#FFFFFF#000000##FFFFFF
##9843D81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#146FD5
Tritanopia (blue-blind)
#8D6589
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9843d8;
/* rgb */ color: rgb(152, 67, 216);
/* oklch */ color: oklch(56.6% 0.219 306.8);
Tailwind
colors: {
  custom: {
    50: '#bb7ee5',
    500: '#9843d8',
    950: '#000000',
  },
}
SCSS
$custom: #9843d8;
$custom-light: #bb7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9843d8",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 274.228,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.21931,
    "h": 306.8
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#9843D8
secondary
#B7DA9C
accent
#E93F88
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843D8

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

Preview Lab → · Contrast checker → · Palette generator →

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