#9F3CB8#9F3CB8

#9F3CB8 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.200 H 318.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9F3CB8
RGBrgb(159, 60, 184)
HSLhsl(288, 51%, 48%)
HSVhsv(288, 67%, 72%)
CMYKcmyk(13.6%, 67.4%, 0%, 27.8%)
CIE-LABlab(44.33, 58.47, -46.88)
CIE-LCHlch(44.33, 74.94, 321.27°)
OKLaboklab(54.55% 0.1503 -0.1313)
OKLCHoklch(54.55% 0.2 318.9)
XYZxyz(24.5645, 14.0645, 46.7589)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CB8 #55B83C
analogous
#613CB8 #9F3CB8 #B83C93
triadic
#9F3CB8 #B89F3C #3CB89F
tetradic
#9F3CB8 #B8613C #55B83C #3C93B8
square
#9F3CB8 #B8613C #55B83C #3C93B8
split-complementary
#9F3CB8 #93B83C #3CB861
monochromatic
#4F1E5C #772D8A #9F3CB8 #B865CD #CD93DC

Accessibility & contrast

On white

5.51
#9F3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CB8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CB8#FFFFFF#000000##FFFFFF
##9F3CB81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BC
Deuteranopia (green-blind)
#446CB5
Tritanopia (blue-blind)
#9F5375
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3cb8;
/* rgb */ color: rgb(159, 60, 184);
/* oklch */ color: oklch(54.5% 0.200 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf79ce',
    500: '#9f3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cb8;
$custom-light: #bf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cb8",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 287.903,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.19958,
    "h": 318.9
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#9F3CB8
secondary
#95C789
accent
#DA4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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