#9F3FD6#9F3FD6

#9F3FD6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.224 H 310.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9F3FD6
RGBrgb(159, 63, 214)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(25.7%, 70.6%, 0%, 16.1%)
CIE-LABlab(46.69, 63.32, -60.46)
CIE-LCHlch(46.69, 87.56, 316.32°)
OKLaboklab(56.85% 0.1446 -0.1711)
OKLCHoklch(56.85% 0.224 310.2)
XYZxyz(28.2108, 15.7816, 65.1653)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FD6 #76D63F
analogous
#543FD6 #9F3FD6 #D63FC1
triadic
#9F3FD6 #D69F3F #3FD69F
tetradic
#9F3FD6 #D6543F #76D63F #3FC1D6
square
#9F3FD6 #D6543F #76D63F #3FC1D6
split-complementary
#9F3FD6 #C1D63F #3FD654
monochromatic
#5B1B7F #7F26B2 #9F3FD6 #B871E1 #D1A4EC

Accessibility & contrast

On white

5.05
#9F3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9F3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FD6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FD6#FFFFFF#000000##FFFFFF
##9F3FD61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#2370D3
Tritanopia (blue-blind)
#976187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3fd6;
/* rgb */ color: rgb(159, 63, 214);
/* oklch */ color: oklch(56.8% 0.224 310.2);
Tailwind
colors: {
  custom: {
    50: '#c07ce3',
    500: '#9f3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fd6;
$custom-light: #c07ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fd6",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 278.146,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.22405,
    "h": 310.2
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#9F3FD6
secondary
#B0D898
accent
#E8407D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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