#9F3CBA#9F3CBA

#9F3CBA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.201 H 318.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9F3CBA
RGBrgb(159, 60, 186)
HSLhsl(287, 51%, 48%)
HSVhsv(287, 68%, 73%)
CMYKcmyk(14.5%, 67.7%, 0%, 27.1%)
CIE-LABlab(44.45, 58.86, -47.86)
CIE-LCHlch(44.45, 75.86, 320.88°)
OKLaboklab(54.67% 0.1502 -0.1341)
OKLCHoklch(54.67% 0.201 318.2)
XYZxyz(24.7756, 14.1489, 47.8708)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CBA #57BA3C
analogous
#603CBA #9F3CBA #BA3C96
triadic
#9F3CBA #BA9F3C #3CBA9F
tetradic
#9F3CBA #BA603C #57BA3C #3C96BA
square
#9F3CBA #BA603C #57BA3C #3C96BA
split-complementary
#9F3CBA #96BA3C #3CBA60
monochromatic
#501E5D #772D8C #9F3CBA #B766CE #CD94DC

Accessibility & contrast

On white

5.48
#9F3CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CBA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CBA#FFFFFF#000000##FFFFFF
##9F3CBA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#9E5376
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3cba;
/* rgb */ color: rgb(159, 60, 186);
/* oklch */ color: oklch(54.7% 0.201 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf7acf',
    500: '#9f3cba',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cba;
$custom-light: #bf7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cba",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 287.143,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.20142,
    "h": 318.2
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#9F3CBA
secondary
#97C88A
accent
#DB4D6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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