#9F46E1#9F46E1

#9F46E1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.226 H 307.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F46E1
RGBrgb(159, 70, 225)
HSLhsl(274, 72%, 58%)
HSVhsv(274, 69%, 88%)
CMYKcmyk(29.3%, 68.9%, 0%, 11.8%)
CIE-LABlab(48.50, 62.72, -63.81)
CIE-LCHlch(48.50, 89.47, 314.51°)
OKLaboklab(58.37% 0.1361 -0.181)
OKLCHoklch(58.37% 0.226 307)
XYZxyz(30.0759, 17.1878, 72.9527)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46E1 #88E146
analogous
#5246E1 #9F46E1 #E146D5
triadic
#9F46E1 #E19F46 #46E19F
tetradic
#9F46E1 #E15246 #88E146 #46D5E1
square
#9F46E1 #E15246 #88E146 #46D5E1
split-complementary
#9F46E1 #D5E146 #46E152
monochromatic
#601895 #8121C9 #9F46E1 #BA7BEA #D6AFF2

Accessibility & contrast

On white

4.73
#9F46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9F46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46E1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46E1#FFFFFF#000000##FFFFFF
##9F46E11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#1774DE
Tritanopia (blue-blind)
#94698F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f46e1;
/* rgb */ color: rgb(159, 70, 225);
/* oklch */ color: oklch(58.4% 0.226 307.0);
Tailwind
colors: {
  custom: {
    50: '#c080eb',
    500: '#9f46e1',
    950: '#000000',
  },
}
SCSS
$custom: #9f46e1;
$custom-light: #c080eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46e1",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 274.452,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.22648,
    "h": 307
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#9F46E1
secondary
#BDE0A2
accent
#EF3986
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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