#9F4FBC#9F4FBC

#9F4FBC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.177 H 316.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9F4FBC
RGBrgb(159, 79, 188)
HSLhsl(284, 45%, 52%)
HSVhsv(284, 58%, 74%)
CMYKcmyk(15.4%, 58%, 0%, 26.3%)
CIE-LABlab(47.75, 50.52, -43.77)
CIE-LCHlch(47.75, 66.84, 319.09°)
OKLaboklab(57.1% 0.1274 -0.1223)
OKLCHoklch(57.1% 0.177 316.2)
XYZxyz(26.1698, 16.5946, 49.3918)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FBC #6CBC4F
analogous
#694FBC #9F4FBC #BC4FA2
triadic
#9F4FBC #BC9F4F #4FBC9F
tetradic
#9F4FBC #BC694F #6CBC4F #4FA2BC
square
#9F4FBC #BC694F #6CBC4F #4FA2BC
split-complementary
#9F4FBC #A2BC4F #4FBC69
monochromatic
#572869 #7C3995 #9F4FBC #B77BCD #CFA8DE

Accessibility & contrast

On white

4.86
#9F4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9F4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FBC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FBC#FFFFFF#000000##FFFFFF
##9F4FBC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#9D617E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4fbc;
/* rgb */ color: rgb(159, 79, 188);
/* oklch */ color: oklch(57.1% 0.177 316.2);
Tailwind
colors: {
  custom: {
    50: '#be84d1',
    500: '#9f4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fbc;
$custom-light: #be84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fbc",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 284.037,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.17659,
    "h": 316.2
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#9F4FBC
secondary
#A8CB9C
accent
#D55376
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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