#9F3FD9#9F3FD9

#9F3FD9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.1% C 0.227 H 309.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9F3FD9
RGBrgb(159, 63, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 71%, 85%)
CMYKcmyk(26.7%, 71%, 0%, 14.9%)
CIE-LABlab(46.89, 63.96, -61.85)
CIE-LCHlch(46.89, 88.97, 315.96°)
OKLaboklab(57.06% 0.1442 -0.1752)
OKLCHoklch(57.06% 0.227 309.5)
XYZxyz(28.5975, 15.9363, 67.2017)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FD9 #79D93F
analogous
#523FD9 #9F3FD9 #D93FC6
triadic
#9F3FD9 #D99F3F #3FD99F
tetradic
#9F3FD9 #D9523F #79D93F #3FC6D9
square
#9F3FD9 #D9523F #79D93F #3FC6D9
split-complementary
#9F3FD9 #C6D93F #3FD952
monochromatic
#5C1A84 #7F24B7 #9F3FD9 #B972E3 #D2A5ED

Accessibility & contrast

On white

5.02
#9F3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9F3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FD9#FFFFFF#000000##FFFFFF
##9F3FD91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#1D70D6
Tritanopia (blue-blind)
#976288
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3fd9;
/* rgb */ color: rgb(159, 63, 217);
/* oklch */ color: oklch(57.1% 0.227 309.5);
Tailwind
colors: {
  custom: {
    50: '#c07ce6',
    500: '#9f3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fd9;
$custom-light: #c07ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fd9",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 277.403,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.22691,
    "h": 309.5
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#9F3FD9
secondary
#B2DA9A
accent
#EA3E7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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