#9843D3#9843D3

#9843D3 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.214 H 308.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9843D3
RGBrgb(152, 67, 211)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 68%, 83%)
CMYKcmyk(28%, 68.2%, 0%, 17.3%)
CIE-LABlab(46.17, 59.54, -59.63)
CIE-LCHlch(46.17, 84.27, 314.96°)
OKLaboklab(56.22% 0.1318 -0.1689)
OKLCHoklch(56.22% 0.214 308)
XYZxyz(26.7115, 15.3933, 63.1794)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9843D3 #7ED343
analogous
#5043D3 #9843D3 #D343C6
triadic
#9843D3 #D39843 #43D398
tetradic
#9843D3 #D35043 #7ED343 #43C6D3
square
#9843D3 #D35043 #7ED343 #43C6D3
split-complementary
#9843D3 #C6D343 #43D350
monochromatic
#571E7E #7929B0 #9843D3 #B375DF #CEA6EA

Accessibility & contrast

On white

5.15
#9843D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9843D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9843D3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9843D3#FFFFFF#000000##FFFFFF
##9843D31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#216ED0
Tritanopia (blue-blind)
#8F6386
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9843d3;
/* rgb */ color: rgb(152, 67, 211);
/* oklch */ color: oklch(56.2% 0.214 308.0);
Tailwind
colors: {
  custom: {
    50: '#bb7de1',
    500: '#9843d3',
    950: '#000000',
  },
}
SCSS
$custom: #9843d3;
$custom-light: #bb7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9843d3",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 211
  },
  "hsl": {
    "h": 275.417,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.21427,
    "h": 308
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#9843D3
secondary
#B3D79A
accent
#E54385
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9843D3

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

Preview Lab → · Contrast checker → · Palette generator →

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