#9F46D8#9F46D8

#9F46D8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.218 H 309.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9F46D8
RGBrgb(159, 70, 216)
HSLhsl(277, 65%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(26.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(47.89, 60.75, -59.66)
CIE-LCHlch(47.89, 85.15, 315.52°)
OKLaboklab(57.75% 0.1372 -0.1688)
OKLCHoklch(57.75% 0.218 309.1)
XYZxyz(28.8804, 16.7096, 66.6563)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46D8 #7FD846
analogous
#5646D8 #9F46D8 #D846C8
triadic
#9F46D8 #D89F46 #46D89F
tetradic
#9F46D8 #D85646 #7FD846 #46C8D8
square
#9F46D8 #D85646 #7FD846 #46C8D8
split-complementary
#9F46D8 #C8D846 #46D856
monochromatic
#5D1C87 #8027BA #9F46D8 #B979E3 #D3ABED

Accessibility & contrast

On white

4.84
#9F46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9F46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46D8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46D8#FFFFFF#000000##FFFFFF
##9F46D81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#97658A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f46d8;
/* rgb */ color: rgb(159, 70, 216);
/* oklch */ color: oklch(57.7% 0.218 309.1);
Tailwind
colors: {
  custom: {
    50: '#c080e5',
    500: '#9f46d8',
    950: '#000000',
  },
}
SCSS
$custom: #9f46d8;
$custom-light: #c080e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46d8",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 276.575,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.21752,
    "h": 309.1
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#9F46D8
secondary
#B6DB9F
accent
#E84081
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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