#9F46DE#9F46DE

#9F46DE is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.223 H 307.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F46DE
RGBrgb(159, 70, 222)
HSLhsl(275, 70%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.4%, 68.5%, 0%, 12.9%)
CIE-LABlab(48.29, 62.06, -62.43)
CIE-LCHlch(48.29, 88.03, 314.83°)
OKLaboklab(58.16% 0.1365 -0.1769)
OKLCHoklch(58.16% 0.223 307.6)
XYZxyz(29.6703, 17.0256, 70.8163)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46DE #85DE46
analogous
#5346DE #9F46DE #DE46D1
triadic
#9F46DE #DE9F46 #46DE9F
tetradic
#9F46DE #DE5346 #85DE46 #46D1DE
square
#9F46DE #DE5346 #85DE46 #46D1DE
split-complementary
#9F46DE #D1DE46 #46DE53
monochromatic
#5F1A90 #8123C4 #9F46DE #BA7AE7 #D5AEF1

Accessibility & contrast

On white

4.77
#9F46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9F46DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46DE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46DE#FFFFFF#000000##FFFFFF
##9F46DE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1F73DB
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f46de;
/* rgb */ color: rgb(159, 70, 222);
/* oklch */ color: oklch(58.2% 0.223 307.6);
Tailwind
colors: {
  custom: {
    50: '#c080e9',
    500: '#9f46de',
    950: '#000000',
  },
}
SCSS
$custom: #9f46de;
$custom-light: #c080e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46de",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 275.132,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.22349,
    "h": 307.6
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#9F46DE
secondary
#BBDFA1
accent
#ED3B85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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