#9843D7#9843D7

#9843D7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.218 H 307.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9843D7
RGBrgb(152, 67, 215)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 69%, 84%)
CMYKcmyk(29.3%, 68.8%, 0%, 15.7%)
CIE-LABlab(46.44, 60.43, -61.48)
CIE-LCHlch(46.44, 86.21, 314.51°)
OKLaboklab(56.5% 0.1313 -0.1744)
OKLCHoklch(56.5% 0.218 307)
XYZxyz(27.2192, 15.5963, 65.8533)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843D7 #82D743
analogous
#4E43D7 #9843D7 #D743CC
triadic
#9843D7 #D79843 #43D798
tetradic
#9843D7 #D74E43 #82D743 #43CCD7
square
#9843D7 #D74E43 #82D743 #43CCD7
split-complementary
#9843D7 #CCD743 #43D74E
monochromatic
#571C84 #7927B6 #9843D7 #B475E2 #CFA8EC

Accessibility & contrast

On white

5.10
#9843D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9843D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843D7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843D7#FFFFFF#000000##FFFFFF
##9843D71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#8E6488
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9843d7;
/* rgb */ color: rgb(152, 67, 215);
/* oklch */ color: oklch(56.5% 0.218 307.0);
Tailwind
colors: {
  custom: {
    50: '#bb7ee4',
    500: '#9843d7',
    950: '#000000',
  },
}
SCSS
$custom: #9843d7;
$custom-light: #bb7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#9843d7",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 274.459,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.2183,
    "h": 307
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#9843D7
secondary
#B6DA9C
accent
#E84087
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9843D7

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

Preview Lab → · Contrast checker → · Palette generator →

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