#9F43DC#9F43DC

#9F43DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.225 H 308.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9F43DC
RGBrgb(159, 67, 220)
HSLhsl(276, 69%, 56%)
HSVhsv(276, 70%, 86%)
CMYKcmyk(27.7%, 69.5%, 0%, 13.7%)
CIE-LABlab(47.69, 62.93, -62.27)
CIE-LCHlch(47.69, 88.53, 315.30°)
OKLaboklab(57.69% 0.1398 -0.1764)
OKLCHoklch(57.69% 0.225 308.4)
XYZxyz(29.2208, 16.5530, 69.3520)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F43DC #80DC43
analogous
#5343DC #9F43DC #DC43CD
triadic
#9F43DC #DC9F43 #43DC9F
tetradic
#9F43DC #DC5343 #80DC43 #43CDDC
square
#9F43DC #DC5343 #80DC43 #43CDDC
split-complementary
#9F43DC #CDDC43 #43DC53
monochromatic
#5E1A8B #8123BE #9F43DC #B977E6 #D4AAEF

Accessibility & contrast

On white

4.87
#9F43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9F43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F43DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F43DC#FFFFFF#000000##FFFFFF
##9F43DC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#1D72D9
Tritanopia (blue-blind)
#96658B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f43dc;
/* rgb */ color: rgb(159, 67, 220);
/* oklch */ color: oklch(57.7% 0.225 308.4);
Tailwind
colors: {
  custom: {
    50: '#c07ee8',
    500: '#9f43dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f43dc;
$custom-light: #c07ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f43dc",
  "rgb": {
    "r": 159,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 276.078,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.22513,
    "h": 308.4
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#9F43DC
secondary
#B7DD9E
accent
#EB3C82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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