#9F46DD#9F46DD

#9F46DD is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.222 H 307.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9F46DD
RGBrgb(159, 70, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.1%, 68.3%, 0%, 13.3%)
CIE-LABlab(48.22, 61.84, -61.97)
CIE-LCHlch(48.22, 87.55, 314.94°)
OKLaboklab(58.09% 0.1366 -0.1756)
OKLCHoklch(58.09% 0.222 307.9)
XYZxyz(29.5367, 16.9721, 70.1125)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46DD #84DD46
analogous
#5346DD #9F46DD #DD46D0
triadic
#9F46DD #DD9F46 #46DD9F
tetradic
#9F46DD #DD5346 #84DD46 #46D0DD
square
#9F46DD #DD5346 #84DD46 #46D0DD
split-complementary
#9F46DD #D0DD46 #46DD53
monochromatic
#5F1A8E #8124C2 #9F46DD #BA7AE7 #D5ADF0

Accessibility & contrast

On white

4.78
#9F46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9F46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46DD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46DD#FFFFFF#000000##FFFFFF
##9F46DD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2173DA
Tritanopia (blue-blind)
#95678C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f46dd;
/* rgb */ color: rgb(159, 70, 221);
/* oklch */ color: oklch(58.1% 0.222 307.9);
Tailwind
colors: {
  custom: {
    50: '#c080e8',
    500: '#9f46dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f46dd;
$custom-light: #c080e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46dd",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 275.364,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.22249,
    "h": 307.9
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#9F46DD
secondary
#BADEA1
accent
#EC3C84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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