#9F4BDB#9F4BDB

#9F4BDB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.214 H 307.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F4BDB
RGBrgb(159, 75, 219)
HSLhsl(275, 67%, 58%)
HSVhsv(275, 66%, 86%)
CMYKcmyk(27.4%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.91, 59.14, -59.74)
CIE-LCHlch(48.91, 84.06, 314.71°)
OKLaboklab(58.54% 0.1315 -0.1691)
OKLCHoklch(58.54% 0.214 307.9)
XYZxyz(29.5977, 17.5180, 68.8262)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BDB #87DB4B
analogous
#574BDB #9F4BDB #DB4BCF
triadic
#9F4BDB #DB9F4B #4BDB9F
tetradic
#9F4BDB #DB574B #87DB4B #4BCFDB
square
#9F4BDB #DB574B #87DB4B #4BCFDB
split-complementary
#9F4BDB #CFDB4B #4BDB57
monochromatic
#5F1D8F #8127C2 #9F4BDB #BA7EE5 #D5B1EF

Accessibility & contrast

On white

4.66
#9F4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9F4BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BDB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BDB#FFFFFF#000000##FFFFFF
##9F4BDB1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#966A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4bdb;
/* rgb */ color: rgb(159, 75, 219);
/* oklch */ color: oklch(58.5% 0.214 307.9);
Tailwind
colors: {
  custom: {
    50: '#c083e7',
    500: '#9f4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bdb;
$custom-light: #c083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bdb",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 275,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.21417,
    "h": 307.9
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#9F4BDB
secondary
#BCDEA4
accent
#EA3E86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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