#9D43D2#9D43D2

#9D43D2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.215 H 310.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9D43D2
RGBrgb(157, 67, 210)
HSLhsl(278, 61%, 54%)
HSVhsv(278, 68%, 82%)
CMYKcmyk(25.2%, 68.1%, 0%, 17.6%)
CIE-LABlab(46.76, 60.36, -58.07)
CIE-LCHlch(46.76, 83.76, 316.11°)
OKLaboklab(56.76% 0.1384 -0.1642)
OKLCHoklch(56.76% 0.215 310.1)
XYZxyz(27.5424, 15.8361, 62.5660)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D43D2 #78D243
analogous
#5643D2 #9D43D2 #D243C0
triadic
#9D43D2 #D29D43 #43D29D
tetradic
#9D43D2 #D25643 #78D243 #43C0D2
square
#9D43D2 #D25643 #78D243 #43C0D2
split-complementary
#9D43D2 #C0D243 #43D256
monochromatic
#5A1E7D #7D2AAE #9D43D2 #B774DE #D0A6EA

Accessibility & contrast

On white

5.04
#9D43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9D43D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D43D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D43D2#FFFFFF#000000##FFFFFF
##9D43D21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#2C70CF
Tritanopia (blue-blind)
#966285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d43d2;
/* rgb */ color: rgb(157, 67, 210);
/* oklch */ color: oklch(56.8% 0.215 310.1);
Tailwind
colors: {
  custom: {
    50: '#be7ee1',
    500: '#9d43d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d43d2;
$custom-light: #be7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d43d2",
  "rgb": {
    "r": 157,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 277.762,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.21473,
    "h": 310.1
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#9D43D2
secondary
#B1D79A
accent
#E4437F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D43D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9D43D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva