#9F3FC4#9F3FC4

#9F3FC4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.6% C 0.207 H 315.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9F3FC4
RGBrgb(159, 63, 196)
HSLhsl(283, 53%, 51%)
HSVhsv(283, 68%, 77%)
CMYKcmyk(18.9%, 67.9%, 0%, 23.1%)
CIE-LABlab(45.51, 59.59, -51.98)
CIE-LCHlch(45.51, 79.07, 318.90°)
OKLaboklab(55.64% 0.1464 -0.1462)
OKLCHoklch(55.64% 0.207 315)
XYZxyz(26.0378, 14.9124, 53.7206)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FC4 #64C43F
analogous
#5C3FC4 #9F3FC4 #C43FA7
triadic
#9F3FC4 #C49F3F #3FC49F
tetradic
#9F3FC4 #C45C3F #64C43F #3FA7C4
square
#9F3FC4 #C45C3F #64C43F #3FA7C4
split-complementary
#9F3FC4 #A7C43F #3FC45C
monochromatic
#542068 #7A2E97 #9F3FC4 #B66ED2 #CE9DE1

Accessibility & contrast

On white

5.27
#9F3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FC4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FC4#FFFFFF#000000##FFFFFF
##9F3FC41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#3B6EC1
Tritanopia (blue-blind)
#9C597D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3fc4;
/* rgb */ color: rgb(159, 63, 196);
/* oklch */ color: oklch(55.6% 0.207 315.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bd6',
    500: '#9f3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fc4;
$custom-light: #bf7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fc4",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 283.308,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.20692,
    "h": 315
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#9F3FC4
secondary
#A2CD92
accent
#DC4B74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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