#9F46CE#9F46CE

#9F46CE is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.208 H 311.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F46CE
RGBrgb(159, 70, 206)
HSLhsl(279, 58%, 54%)
HSVhsv(279, 66%, 81%)
CMYKcmyk(22.8%, 66%, 0%, 19.2%)
CIE-LABlab(47.25, 58.59, -54.97)
CIE-LCHlch(47.25, 80.34, 316.83°)
OKLaboklab(57.08% 0.138 -0.155)
OKLCHoklch(57.08% 0.208 311.7)
XYZxyz(27.6268, 16.2082, 60.0537)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46CE #75CE46
analogous
#5B46CE #9F46CE #CE46B9
triadic
#9F46CE #CE9F46 #46CE9F
tetradic
#9F46CE #CE5B46 #75CE46 #46B9CE
square
#9F46CE #CE5B46 #75CE46 #46B9CE
split-complementary
#9F46CE #B9CE46 #46CE5B
monochromatic
#5B2079 #7F2DAA #9F46CE #B876DB #D1A7E8

Accessibility & contrast

On white

4.95
#9F46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9F46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46CE#FFFFFF#000000##FFFFFF
##9F46CE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#996284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f46ce;
/* rgb */ color: rgb(159, 70, 206);
/* oklch */ color: oklch(57.1% 0.208 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf80de',
    500: '#9f46ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f46ce;
$custom-light: #bf80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46ce",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 279.265,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.20757,
    "h": 311.7
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

primary
#9F46CE
secondary
#AFD59B
accent
#E1467C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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