#9F4BCA#9F4BCA

#9F4BCA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.4% C 0.197 H 312.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F4BCA
RGBrgb(159, 75, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 63%, 79%)
CMYKcmyk(21.3%, 62.9%, 0%, 20.8%)
CIE-LABlab(47.84, 55.42, -51.72)
CIE-LCHlch(47.84, 75.81, 316.98°)
OKLaboklab(57.43% 0.1325 -0.1455)
OKLCHoklch(57.43% 0.197 312.3)
XYZxyz(27.4729, 16.6681, 57.6357)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BCA #76CA4B
analogous
#604BCA #9F4BCA #CA4BB6
triadic
#9F4BCA #CA9F4B #4BCA9F
tetradic
#9F4BCA #CA604B #76CA4B #4BB6CA
square
#9F4BCA #CA604B #76CA4B #4BB6CA
split-complementary
#9F4BCA #B6CA4B #4BCA60
monochromatic
#5B2377 #7F31A7 #9F4BCA #B87AD8 #D1AAE6

Accessibility & contrast

On white

4.85
#9F4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9F4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BCA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BCA#FFFFFF#000000##FFFFFF
##9F4BCA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#9A6384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4bca;
/* rgb */ color: rgb(159, 75, 202);
/* oklch */ color: oklch(57.4% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#bf82db',
    500: '#9f4bca',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bca;
$custom-light: #bf82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bca",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 279.685,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.19679,
    "h": 312.3
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#9F4BCA
secondary
#B0D39D
accent
#DE4A7C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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