#9F3CBC#9F3CBC

#9F3CBC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.203 H 317.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9F3CBC
RGBrgb(159, 60, 188)
HSLhsl(286, 52%, 49%)
HSVhsv(286, 68%, 74%)
CMYKcmyk(15.4%, 68.1%, 0%, 26.3%)
CIE-LABlab(44.57, 59.25, -48.84)
CIE-LCHlch(44.57, 76.78, 320.50°)
OKLaboklab(54.8% 0.1502 -0.137)
OKLCHoklch(54.8% 0.203 317.6)
XYZxyz(24.9897, 14.2345, 48.9984)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CBC #59BC3C
analogous
#5F3CBC #9F3CBC #BC3C99
triadic
#9F3CBC #BC9F3C #3CBC9F
tetradic
#9F3CBC #BC5F3C #59BC3C #3C99BC
square
#9F3CBC #BC5F3C #59BC3C #3C99BC
split-complementary
#9F3CBC #99BC3C #3CBC5F
monochromatic
#511E5F #782D8E #9F3CBC #B767CE #CD95DD

Accessibility & contrast

On white

5.46
#9F3CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9F3CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CBC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CBC#FFFFFF#000000##FFFFFF
##9F3CBC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#9E5477
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3cbc;
/* rgb */ color: rgb(159, 60, 188);
/* oklch */ color: oklch(54.8% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#bf7ad1',
    500: '#9f3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cbc;
$custom-light: #bf7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cbc",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 286.406,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.20326,
    "h": 317.6
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#9F3CBC
secondary
#99C98B
accent
#DB4D6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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