#9F3FD7#9F3FD7

#9F3FD7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.225 H 310.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F3FD7
RGBrgb(159, 63, 215)
HSLhsl(278, 66%, 55%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(26%, 70.7%, 0%, 15.7%)
CIE-LABlab(46.75, 63.54, -60.93)
CIE-LCHlch(46.75, 88.03, 316.20°)
OKLaboklab(56.92% 0.1445 -0.1725)
OKLCHoklch(56.92% 0.225 310)
XYZxyz(28.3389, 15.8328, 65.8400)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FD7 #77D73F
analogous
#533FD7 #9F3FD7 #D73FC3
triadic
#9F3FD7 #D79F3F #3FD79F
tetradic
#9F3FD7 #D7533F #77D73F #3FC3D7
square
#9F3FD7 #D7533F #77D73F #3FC3D7
split-complementary
#9F3FD7 #C3D73F #3FD753
monochromatic
#5B1B81 #7F25B3 #9F3FD7 #B872E2 #D2A4EC

Accessibility & contrast

On white

5.04
#9F3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9F3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FD7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FD7#FFFFFF#000000##FFFFFF
##9F3FD71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#976187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3fd7;
/* rgb */ color: rgb(159, 63, 215);
/* oklch */ color: oklch(56.9% 0.225 310.0);
Tailwind
colors: {
  custom: {
    50: '#c07ce4',
    500: '#9f3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fd7;
$custom-light: #c07ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fd7",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 277.895,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.22501,
    "h": 310
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#9F3FD7
secondary
#B0D999
accent
#E83F7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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