#9F3EBA#9F3EBA

#9F3EBA is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.199 H 318.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F3EBA
RGBrgb(159, 62, 186)
HSLhsl(287, 50%, 49%)
HSVhsv(287, 67%, 73%)
CMYKcmyk(14.5%, 66.7%, 0%, 27.1%)
CIE-LABlab(44.75, 58.01, -47.38)
CIE-LCHlch(44.75, 74.90, 320.76°)
OKLaboklab(54.89% 0.148 -0.1327)
OKLCHoklch(54.89% 0.199 318.1)
XYZxyz(24.8824, 14.3624, 47.9064)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EBA #59BA3E
analogous
#613EBA #9F3EBA #BA3E97
triadic
#9F3EBA #BA9F3E #3EBA9F
tetradic
#9F3EBA #BA613E #59BA3E #3E97BA
square
#9F3EBA #BA613E #59BA3E #3E97BA
split-complementary
#9F3EBA #97BA3E #3EBA61
monochromatic
#511F5E #782F8C #9F3EBA #B768CD #CD96DC

Accessibility & contrast

On white

5.42
#9F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EBA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EBA#FFFFFF#000000##FFFFFF
##9F3EBA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#9E5577
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3eba;
/* rgb */ color: rgb(159, 62, 186);
/* oklch */ color: oklch(54.9% 0.199 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf7bcf',
    500: '#9f3eba',
    950: '#000000',
  },
}
SCSS
$custom: #9f3eba;
$custom-light: #bf7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3eba",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 286.935,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.19883,
    "h": 318.1
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#9F3EBA
secondary
#99C88C
accent
#DA4E6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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