#9F46C8#9F46C8

#9F46C8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.7% C 0.202 H 313.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9F46C8
RGBrgb(159, 70, 200)
HSLhsl(281, 54%, 53%)
HSVhsv(281, 65%, 78%)
CMYKcmyk(20.5%, 65%, 0%, 21.6%)
CIE-LABlab(46.87, 57.32, -52.11)
CIE-LCHlch(46.87, 77.47, 317.73°)
OKLaboklab(56.69% 0.1384 -0.1467)
OKLCHoklch(56.69% 0.202 313.3)
XYZxyz(26.9118, 15.9222, 56.2880)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46C8 #6FC846
analogous
#5E46C8 #9F46C8 #C846B0
triadic
#9F46C8 #C89F46 #46C89F
tetradic
#9F46C8 #C85E46 #6FC846 #46B0C8
square
#9F46C8 #C85E46 #6FC846 #46B0C8
split-complementary
#9F46C8 #B0C846 #46C85E
monochromatic
#592272 #7D30A1 #9F46C8 #B775D6 #D0A4E4

Accessibility & contrast

On white

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

On black

4.18
#9F46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F46C8#FFFFFF#000000##FFFFFF
##9F46C81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#9B5F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f46c8;
/* rgb */ color: rgb(159, 70, 200);
/* oklch */ color: oklch(56.7% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#bf7fd9',
    500: '#9f46c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f46c8;
$custom-light: #bf7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46c8",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 281.077,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.20163,
    "h": 313.3
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#9F46C8
secondary
#ABD199
accent
#DE4A79
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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