#9F46EF#9F46EF

#9F46EF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.240 H 303.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F46EF
RGBrgb(159, 70, 239)
HSLhsl(272, 84%, 61%)
HSVhsv(272, 71%, 94%)
CMYKcmyk(33.5%, 70.7%, 0%, 6.3%)
CIE-LABlab(49.48, 65.85, -70.12)
CIE-LCHlch(49.48, 96.19, 313.20°)
OKLaboklab(59.38% 0.1341 -0.1995)
OKLCHoklch(59.38% 0.24 303.9)
XYZxyz(32.0646, 17.9833, 83.4265)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46EF #96EF46
analogous
#4A46EF #9F46EF #EF46EA
triadic
#9F46EF #EF9F46 #46EF9F
tetradic
#9F46EF #EF4A46 #96EF46 #46EAEF
square
#9F46EF #EF4A46 #96EF46 #46EAEF
split-complementary
#9F46EF #EAEF46 #46EF4A
monochromatic
#610FAC #8114E4 #9F46EF #BC7EF4 #D9B7F9

Accessibility & contrast

On white

4.57
#9F46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9F46EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F46EF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46EF#FFFFFF#000000##000000
##9F46EF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#8F6E96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f46ef;
/* rgb */ color: rgb(159, 70, 239);
/* oklch */ color: oklch(59.4% 0.240 303.9);
Tailwind
colors: {
  custom: {
    50: '#c181f5',
    500: '#9f46ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f46ef;
$custom-light: #c181f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46ef",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 271.598,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59377,
    "c": 0.24039,
    "h": 303.9
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#9F46EF
secondary
#C7E9A8
accent
#E1056D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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