#9F3EAC#9F3EAC

#9F3EAC is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F3EAC
RGBrgb(159, 62, 172)
HSLhsl(293, 47%, 46%)
HSVhsv(293, 64%, 67%)
CMYKcmyk(7.6%, 64%, 0%, 32.5%)
CIE-LABlab(43.94, 55.31, -40.43)
CIE-LCHlch(43.94, 68.51, 323.84°)
OKLaboklab(54.05% 0.1481 -0.1125)
OKLCHoklch(54.05% 0.186 322.8)
XYZxyz(23.4664, 13.7960, 40.4486)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EAC #4BAC3E
analogous
#683EAC #9F3EAC #AC3E82
triadic
#9F3EAC #AC9F3E #3EAC9F
tetradic
#9F3EAC #AC683E #4BAC3E #3E82AC
square
#9F3EAC #AC683E #4BAC3E #3E82AC
split-complementary
#9F3EAC #82AC3E #3EAC68
monochromatic
#4C1E52 #752E7F #9F3EAC #BA61C6 #CE8ED6

Accessibility & contrast

On white

5.59
#9F3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EAC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EAC#FFFFFF#000000##FFFFFF
##9F3EAC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#A14F6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3eac;
/* rgb */ color: rgb(159, 62, 172);
/* oklch */ color: oklch(54.0% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#be7ac5',
    500: '#9f3eac',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eac;
$custom-light: #be7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eac",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 292.909,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.18596,
    "h": 322.8
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#9F3EAC
secondary
#8CC185
accent
#D75161
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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