#9F4BBE#9F4BBE

#9F4BBE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.185 H 315.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9F4BBE
RGBrgb(159, 75, 190)
HSLhsl(284, 47%, 52%)
HSVhsv(284, 61%, 75%)
CMYKcmyk(16.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(47.13, 52.89, -45.90)
CIE-LCHlch(47.13, 70.03, 319.05°)
OKLaboklab(56.69% 0.1325 -0.1285)
OKLCHoklch(56.69% 0.185 315.9)
XYZxyz(26.1070, 16.1217, 50.4418)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BBE #6ABE4B
analogous
#664BBE #9F4BBE #BE4BA4
triadic
#9F4BBE #BE9F4B #4BBE9F
tetradic
#9F4BBE #BE664B #6ABE4B #4BA4BE
square
#9F4BBE #BE664B #6ABE4B #4BA4BE
split-complementary
#9F4BBE #A4BE4B #4BBE66
monochromatic
#572669 #7C3696 #9F4BBE #B778CE #CFA5DE

Accessibility & contrast

On white

4.97
#9F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9F4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BBE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BBE#FFFFFF#000000##FFFFFF
##9F4BBE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#9D5F7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f4bbe;
/* rgb */ color: rgb(159, 75, 190);
/* oklch */ color: oklch(56.7% 0.185 315.9);
Tailwind
colors: {
  custom: {
    50: '#be82d2',
    500: '#9f4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bbe;
$custom-light: #be82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bbe",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 283.826,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.18461,
    "h": 315.9
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#9F4BBE
secondary
#A7CC99
accent
#D75175
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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