#9F4FCF#9F4FCF

#9F4FCF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.196 H 310.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9F4FCF
RGBrgb(159, 79, 207)
HSLhsl(278, 57%, 56%)
HSVhsv(278, 62%, 81%)
CMYKcmyk(23.2%, 61.8%, 0%, 18.8%)
CIE-LABlab(48.84, 54.59, -52.98)
CIE-LCHlch(48.84, 76.07, 315.86°)
OKLaboklab(58.25% 0.1276 -0.1492)
OKLCHoklch(58.25% 0.196 310.5)
XYZxyz(28.3544, 17.4685, 60.8975)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FCF #7FCF4F
analogous
#5F4FCF #9F4FCF #CF4FBF
triadic
#9F4FCF #CF9F4F #4FCF9F
tetradic
#9F4FCF #CF5F4F #7FCF4F #4FBFCF
square
#9F4FCF #CF5F4F #7FCF4F #4FBFCF
split-complementary
#9F4FCF #BFCF4F #4FCF5F
monochromatic
#5D2381 #8030B1 #9F4FCF #B97FDC #D3AFE9

Accessibility & contrast

On white

4.67
#9F4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9F4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FCF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FCF#FFFFFF#000000##FFFFFF
##9F4FCF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#996888
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4fcf;
/* rgb */ color: rgb(159, 79, 207);
/* oklch */ color: oklch(58.3% 0.196 310.5);
Tailwind
colors: {
  custom: {
    50: '#bf85de',
    500: '#9f4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fcf;
$custom-light: #bf85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fcf",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 277.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.19633,
    "h": 310.5
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#9F4FCF
secondary
#B6D7A2
accent
#E04781
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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