#9F3BBB#9F3BBB

#9F3BBB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.204 H 318.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9F3BBB
RGBrgb(159, 59, 187)
HSLhsl(287, 52%, 48%)
HSVhsv(287, 68%, 73%)
CMYKcmyk(15%, 68.4%, 0%, 26.7%)
CIE-LABlab(44.36, 59.47, -48.59)
CIE-LCHlch(44.36, 76.79, 320.75°)
OKLaboklab(54.63% 0.1513 -0.1363)
OKLCHoklch(54.63% 0.204 318)
XYZxyz(24.8304, 14.0878, 48.4153)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BBB #57BB3B
analogous
#5F3BBB #9F3BBB #BB3B97
triadic
#9F3BBB #BB9F3B #3BBB9F
tetradic
#9F3BBB #BB5F3B #57BB3B #3B97BB
square
#9F3BBB #BB5F3B #57BB3B #3B97BB
split-complementary
#9F3BBB #97BB3B #3BBB5F
monochromatic
#501E5E #772C8C #9F3BBB #B765CE #CD93DD

Accessibility & contrast

On white

5.50
#9F3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9F3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BBB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BBB#FFFFFF#000000##FFFFFF
##9F3BBB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#9E5377
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3bbb;
/* rgb */ color: rgb(159, 59, 187);
/* oklch */ color: oklch(54.6% 0.204 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf79d0',
    500: '#9f3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bbb;
$custom-light: #bf79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bbb",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 286.875,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.2036,
    "h": 318
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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