#9F43CA#9F43CA

#9F43CA is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.5% C 0.208 H 313.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F43CA
RGBrgb(159, 67, 202)
HSLhsl(281, 56%, 53%)
HSVhsv(281, 67%, 79%)
CMYKcmyk(21.3%, 66.8%, 0%, 20.8%)
CIE-LABlab(46.51, 59.09, -53.85)
CIE-LCHlch(46.51, 79.94, 317.66°)
OKLaboklab(56.47% 0.1416 -0.1517)
OKLCHoklch(56.47% 0.208 313)
XYZxyz(26.9640, 15.6503, 57.4661)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F43CA #6ECA43
analogous
#5B43CA #9F43CA #CA43B1
triadic
#9F43CA #CA9F43 #43CA9F
tetradic
#9F43CA #CA5B43 #6ECA43 #43B1CA
square
#9F43CA #CA5B43 #6ECA43 #43B1CA
split-complementary
#9F43CA #B1CA43 #43CA5B
monochromatic
#582072 #7D2EA2 #9F43CA #B773D7 #D0A2E5

Accessibility & contrast

On white

5.08
#9F43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9F43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F43CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F43CA#FFFFFF#000000##FFFFFF
##9F43CA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#9A5E81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f43ca;
/* rgb */ color: rgb(159, 67, 202);
/* oklch */ color: oklch(56.5% 0.208 313.0);
Tailwind
colors: {
  custom: {
    50: '#bf7edb',
    500: '#9f43ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f43ca;
$custom-light: #bf7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f43ca",
  "rgb": {
    "r": 159,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 280.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.20755,
    "h": 313
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#9F43CA
secondary
#AAD297
accent
#DF4879
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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