#9F4CBE#9F4CBE

#9F4CBE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.8% C 0.183 H 315.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F4CBE
RGBrgb(159, 76, 190)
HSLhsl(284, 47%, 52%)
HSVhsv(284, 60%, 75%)
CMYKcmyk(16.3%, 60%, 0%, 25.5%)
CIE-LABlab(47.31, 52.41, -45.62)
CIE-LCHlch(47.31, 69.48, 318.96°)
OKLaboklab(56.82% 0.1313 -0.1277)
OKLCHoklch(56.82% 0.183 315.8)
XYZxyz(26.1753, 16.2584, 50.4646)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CBE #6BBE4C
analogous
#664CBE #9F4CBE #BE4CA4
triadic
#9F4CBE #BE9F4C #4CBE9F
tetradic
#9F4CBE #BE664C #6BBE4C #4CA4BE
square
#9F4CBE #BE664C #6BBE4C #4CA4BE
split-complementary
#9F4CBE #A4BE4C #4CBE66
monochromatic
#572669 #7C3796 #9F4CBE #B779CE #CFA6DF

Accessibility & contrast

On white

4.94
#9F4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9F4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CBE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CBE#FFFFFF#000000##FFFFFF
##9F4CBE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#4C73BB
Tritanopia (blue-blind)
#9D607E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4cbe;
/* rgb */ color: rgb(159, 76, 190);
/* oklch */ color: oklch(56.8% 0.183 315.8);
Tailwind
colors: {
  custom: {
    50: '#be82d2',
    500: '#9f4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cbe;
$custom-light: #be82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cbe",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 283.684,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.18314,
    "h": 315.8
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#9F4CBE
secondary
#A8CC9A
accent
#D65176
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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