#9843D6#9843D6

#9843D6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.217 H 307.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9843D6
RGBrgb(152, 67, 214)
HSLhsl(275, 64%, 55%)
HSVhsv(275, 69%, 84%)
CMYKcmyk(29%, 68.7%, 0%, 16.1%)
CIE-LABlab(46.37, 60.21, -61.02)
CIE-LCHlch(46.37, 85.72, 314.62°)
OKLaboklab(56.43% 0.1315 -0.173)
OKLCHoklch(56.43% 0.217 307.2)
XYZxyz(27.0911, 15.5451, 65.1786)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843D6 #81D643
analogous
#4F43D6 #9843D6 #D643CA
triadic
#9843D6 #D69843 #43D698
tetradic
#9843D6 #D64F43 #81D643 #43CAD6
square
#9843D6 #D64F43 #81D643 #43CAD6
split-complementary
#9843D6 #CAD643 #43D64F
monochromatic
#571C82 #7927B4 #9843D6 #B475E1 #CFA7EC

Accessibility & contrast

On white

5.11
#9843D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9843D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843D6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843D6#FFFFFF#000000##FFFFFF
##9843D61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#1A6FD3
Tritanopia (blue-blind)
#8E6488
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9843d6;
/* rgb */ color: rgb(152, 67, 214);
/* oklch */ color: oklch(56.4% 0.217 307.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ee3',
    500: '#9843d6',
    950: '#000000',
  },
}
SCSS
$custom: #9843d6;
$custom-light: #bb7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9843d6",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 274.694,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.21729,
    "h": 307.2
  },
  "luminance": 0.15545
}

Semantic roles & 50–950 ramp

primary
#9843D6
secondary
#B6D99C
accent
#E74187
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843D6

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

Preview Lab → · Contrast checker → · Palette generator →

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