#9F4FCA#9F4FCA

#9F4FCA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.191 H 311.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F4FCA
RGBrgb(159, 79, 202)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 61%, 79%)
CMYKcmyk(21.3%, 60.9%, 0%, 20.8%)
CIE-LABlab(48.55, 53.50, -50.59)
CIE-LCHlch(48.55, 73.63, 316.60°)
OKLaboklab(57.94% 0.1276 -0.1422)
OKLCHoklch(57.94% 0.191 311.9)
XYZxyz(27.7528, 17.2278, 57.7290)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FCA #7ACA4F
analogous
#614FCA #9F4FCA #CA4FB8
triadic
#9F4FCA #CA9F4F #4FCA9F
tetradic
#9F4FCA #CA614F #7ACA4F #4FB8CA
square
#9F4FCA #CA614F #7ACA4F #4FB8CA
split-complementary
#9F4FCA #B8CA4F #4FCA61
monochromatic
#5C257A #8033A9 #9F4FCA #B97ED8 #D2ADE6

Accessibility & contrast

On white

4.72
#9F4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9F4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FCA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FCA#FFFFFF#000000##FFFFFF
##9F4FCA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#9A6685
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4fca;
/* rgb */ color: rgb(159, 79, 202);
/* oklch */ color: oklch(57.9% 0.191 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf85db',
    500: '#9f4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fca;
$custom-light: #bf85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fca",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 279.024,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.19111,
    "h": 311.9
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#9F4FCA
secondary
#B3D4A1
accent
#DD4B7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9F4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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