#9F3FDA#9F3FDA

#9F3FDA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.228 H 309.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9F3FDA
RGBrgb(159, 63, 218)
HSLhsl(277, 68%, 55%)
HSVhsv(277, 71%, 85%)
CMYKcmyk(27.1%, 71.1%, 0%, 14.5%)
CIE-LABlab(46.96, 64.17, -62.31)
CIE-LCHlch(46.96, 89.45, 315.84°)
OKLaboklab(57.13% 0.1441 -0.1766)
OKLCHoklch(57.13% 0.228 309.2)
XYZxyz(28.7279, 15.9884, 67.8888)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FDA #7ADA3F
analogous
#513FDA #9F3FDA #DA3FC8
triadic
#9F3FDA #DA9F3F #3FDA9F
tetradic
#9F3FDA #DA513F #7ADA3F #3FC8DA
square
#9F3FDA #DA513F #7ADA3F #3FC8DA
split-complementary
#9F3FDA #C8DA3F #3FDA51
monochromatic
#5C1A85 #8024B8 #9F3FDA #B972E4 #D2A6EE

Accessibility & contrast

On white

5.00
#9F3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9F3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FDA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FDA#FFFFFF#000000##FFFFFF
##9F3FDA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1A71D7
Tritanopia (blue-blind)
#966289
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f3fda;
/* rgb */ color: rgb(159, 63, 218);
/* oklch */ color: oklch(57.1% 0.228 309.2);
Tailwind
colors: {
  custom: {
    50: '#c07ce6',
    500: '#9f3fda',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fda;
$custom-light: #c07ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fda",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 277.161,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.22787,
    "h": 309.2
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#9F3FDA
secondary
#B3DB9A
accent
#EB3D7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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