#9843DD#9843DD

#9843DD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.224 H 305.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9843DD
RGBrgb(152, 67, 221)
HSLhsl(273, 69%, 56%)
HSVhsv(273, 70%, 87%)
CMYKcmyk(31.2%, 69.7%, 0%, 13.3%)
CIE-LABlab(46.86, 61.78, -64.23)
CIE-LCHlch(46.86, 89.12, 313.88°)
OKLaboklab(56.92% 0.1305 -0.1824)
OKLCHoklch(56.92% 0.224 305.6)
XYZxyz(28.0043, 15.9104, 69.9883)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843DD #88DD43
analogous
#4B43DD #9843DD #DD43D5
triadic
#9843DD #DD9843 #43DD98
tetradic
#9843DD #DD4B43 #88DD43 #43D5DD
square
#9843DD #DD4B43 #88DD43 #43D5DD
split-complementary
#9843DD #D5DD43 #43DD4B
monochromatic
#59198C #7A23C0 #9843DD #B477E6 #D1ABF0

Accessibility & contrast

On white

5.02
#9843DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9843DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843DD#FFFFFF#000000##FFFFFF
##9843DD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#8C678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9843dd;
/* rgb */ color: rgb(152, 67, 221);
/* oklch */ color: oklch(56.9% 0.224 305.6);
Tailwind
colors: {
  custom: {
    50: '#bc7ee8',
    500: '#9843dd',
    950: '#000000',
  },
}
SCSS
$custom: #9843dd;
$custom-light: #bc7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9843dd",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 221
  },
  "hsl": {
    "h": 273.117,
    "s": 69.369,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.22433,
    "h": 305.6
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#9843DD
secondary
#BBDE9E
accent
#EC3C8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843DD

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

Preview Lab → · Contrast checker → · Palette generator →

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