#9F46DA#9F46DA

#9F46DA is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.220 H 308.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9F46DA
RGBrgb(159, 70, 218)
HSLhsl(276, 67%, 56%)
HSVhsv(276, 68%, 85%)
CMYKcmyk(27.1%, 67.9%, 0%, 14.5%)
CIE-LABlab(48.02, 61.18, -60.59)
CIE-LCHlch(48.02, 86.11, 315.28°)
OKLaboklab(57.89% 0.137 -0.1715)
OKLCHoklch(57.89% 0.22 308.6)
XYZxyz(29.1406, 16.8137, 68.0263)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46DA #81DA46
analogous
#5546DA #9F46DA #DA46CB
triadic
#9F46DA #DA9F46 #46DA9F
tetradic
#9F46DA #DA5546 #81DA46 #46CBDA
square
#9F46DA #DA5546 #81DA46 #46CBDA
split-complementary
#9F46DA #CBDA46 #46DA55
monochromatic
#5E1C8A #8126BD #9F46DA #B979E4 #D4ACEE

Accessibility & contrast

On white

4.81
#9F46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9F46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46DA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46DA#FFFFFF#000000##FFFFFF
##9F46DA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#96668B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f46da;
/* rgb */ color: rgb(159, 70, 218);
/* oklch */ color: oklch(57.9% 0.220 308.6);
Tailwind
colors: {
  custom: {
    50: '#c080e6',
    500: '#9f46da',
    950: '#000000',
  },
}
SCSS
$custom: #9f46da;
$custom-light: #c080e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46da",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 276.081,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.21951,
    "h": 308.6
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#9F46DA
secondary
#B8DCA0
accent
#EA3E83
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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