#9F3DA5#9F3DA5

#9F3DA5 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.181 H 325.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9F3DA5
RGBrgb(159, 61, 165)
HSLhsl(297, 46%, 44%)
HSVhsv(297, 63%, 65%)
CMYKcmyk(3.6%, 63%, 0%, 35.3%)
CIE-LABlab(43.40, 54.45, -37.13)
CIE-LCHlch(43.40, 65.91, 325.71°)
OKLaboklab(53.53% 0.149 -0.1029)
OKLCHoklch(53.53% 0.181 325.4)
XYZxyz(22.7578, 13.4264, 36.9829)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DA5 #43A53D
analogous
#6B3DA5 #9F3DA5 #A53D77
triadic
#9F3DA5 #A59F3D #3DA59F
tetradic
#9F3DA5 #A56B3D #43A53D #3D77A5
square
#9F3DA5 #A56B3D #43A53D #3D77A5
split-complementary
#9F3DA5 #77A53D #3DA56B
monochromatic
#491C4C #742C78 #9F3DA5 #BD5CC3 #CF89D3

Accessibility & contrast

On white

5.70
#9F3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F3DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DA5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DA5#FFFFFF#000000##FFFFFF
##9F3DA51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#A34C6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3da5;
/* rgb */ color: rgb(159, 61, 165);
/* oklch */ color: oklch(53.5% 0.181 325.4);
Tailwind
colors: {
  custom: {
    50: '#be79c0',
    500: '#9f3da5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3da5;
$custom-light: #be79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3da5",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 296.538,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.1811,
    "h": 325.4
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#9F3DA5
secondary
#84BE80
accent
#D6525A
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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