#9843DA#9843DA

#9843DA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.221 H 306.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9843DA
RGBrgb(152, 67, 218)
HSLhsl(274, 67%, 56%)
HSVhsv(274, 69%, 85%)
CMYKcmyk(30.3%, 69.3%, 0%, 14.5%)
CIE-LABlab(46.65, 61.10, -62.86)
CIE-LCHlch(46.65, 87.66, 314.19°)
OKLaboklab(56.71% 0.131 -0.1784)
OKLCHoklch(56.71% 0.221 306.3)
XYZxyz(27.6082, 15.7519, 67.9021)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843DA #85DA43
analogous
#4C43DA #9843DA #DA43D0
triadic
#9843DA #DA9843 #43DA98
tetradic
#9843DA #DA4C43 #85DA43 #43D0DA
square
#9843DA #DA4C43 #85DA43 #43D0DA
split-complementary
#9843DA #D0DA43 #43DA4C
monochromatic
#581B88 #7925BB #9843DA #B476E4 #D0A9EE

Accessibility & contrast

On white

5.06
#9843DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9843DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843DA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843DA#FFFFFF#000000##FFFFFF
##9843DA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0C6FD7
Tritanopia (blue-blind)
#8D658A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9843da;
/* rgb */ color: rgb(152, 67, 218);
/* oklch */ color: oklch(56.7% 0.221 306.3);
Tailwind
colors: {
  custom: {
    50: '#bb7ee6',
    500: '#9843da',
    950: '#000000',
  },
}
SCSS
$custom: #9843da;
$custom-light: #bb7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9843da",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 218
  },
  "hsl": {
    "h": 273.775,
    "s": 67.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.22132,
    "h": 306.3
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#9843DA
secondary
#B8DC9D
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843DA

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

Preview Lab → · Contrast checker → · Palette generator →

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