#9F46C2#9F46C2

#9F46C2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.196 H 315.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F46C2
RGBrgb(159, 70, 194)
HSLhsl(283, 50%, 52%)
HSVhsv(283, 64%, 76%)
CMYKcmyk(18%, 63.9%, 0%, 23.9%)
CIE-LABlab(46.51, 56.07, -49.22)
CIE-LCHlch(46.51, 74.61, 318.72°)
OKLaboklab(56.31% 0.1386 -0.1382)
OKLCHoklch(56.31% 0.196 315.1)
XYZxyz(26.2243, 15.6472, 52.6673)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46C2 #69C246
analogous
#6146C2 #9F46C2 #C246A7
triadic
#9F46C2 #C29F46 #46C29F
tetradic
#9F46C2 #C26146 #69C246 #46A7C2
square
#9F46C2 #C26146 #69C246 #46A7C2
split-complementary
#9F46C2 #A7C246 #46C261
monochromatic
#56236A #7C3299 #9F46C2 #B774D1 #CFA2E0

Accessibility & contrast

On white

5.09
#9F46C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9F46C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46C2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46C2#FFFFFF#000000##FFFFFF
##9F46C21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#9C5D7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f46c2;
/* rgb */ color: rgb(159, 70, 194);
/* oklch */ color: oklch(56.3% 0.196 315.1);
Tailwind
colors: {
  custom: {
    50: '#bf7fd5',
    500: '#9f46c2',
    950: '#000000',
  },
}
SCSS
$custom: #9f46c2;
$custom-light: #bf7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46c2",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 283.065,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.19571,
    "h": 315.1
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#9F46C2
secondary
#A6CD97
accent
#DA4E75
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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