#9F46D2#9F46D2

#9F46D2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.212 H 310.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F46D2
RGBrgb(159, 70, 210)
HSLhsl(278, 61%, 55%)
HSVhsv(278, 67%, 82%)
CMYKcmyk(24.3%, 66.7%, 0%, 17.6%)
CIE-LABlab(47.50, 59.45, -56.86)
CIE-LCHlch(47.50, 82.26, 316.28°)
OKLaboklab(57.34% 0.1377 -0.1606)
OKLCHoklch(57.34% 0.212 310.6)
XYZxyz(28.1189, 16.4050, 62.6455)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46D2 #79D246
analogous
#5946D2 #9F46D2 #D246BF
triadic
#9F46D2 #D29F46 #46D29F
tetradic
#9F46D2 #D25946 #79D246 #46BFD2
square
#9F46D2 #D25946 #79D246 #46BFD2
split-complementary
#9F46D2 #BFD246 #46D259
monochromatic
#5C1F7F #7F2BB0 #9F46D2 #B977DE #D2A8EA

Accessibility & contrast

On white

4.91
#9F46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9F46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46D2#FFFFFF#000000##FFFFFF
##9F46D21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#986386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f46d2;
/* rgb */ color: rgb(159, 70, 210);
/* oklch */ color: oklch(57.3% 0.212 310.6);
Tailwind
colors: {
  custom: {
    50: '#bf80e0',
    500: '#9f46d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f46d2;
$custom-light: #bf80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46d2",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 278.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.21155,
    "h": 310.6
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#9F46D2
secondary
#B2D79C
accent
#E4447E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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