#9F41D2#9F41D2

#9F41D2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.218 H 311.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9F41D2
RGBrgb(159, 65, 210)
HSLhsl(279, 62%, 54%)
HSVhsv(279, 69%, 82%)
CMYKcmyk(24.3%, 69%, 0%, 17.6%)
CIE-LABlab(46.72, 61.64, -58.12)
CIE-LCHlch(46.72, 84.72, 316.68°)
OKLaboklab(56.78% 0.1431 -0.1643)
OKLCHoklch(56.78% 0.218 311.1)
XYZxyz(27.8190, 15.8053, 62.5455)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D2 #74D241
analogous
#5741D2 #9F41D2 #D241BC
triadic
#9F41D2 #D29F41 #41D29F
tetradic
#9F41D2 #D25741 #74D241 #41BCD2
square
#9F41D2 #D25741 #74D241 #41BCD2
split-complementary
#9F41D2 #BCD241 #41D257
monochromatic
#5A1D7B #7E29AD #9F41D2 #B872DE #D1A4E9

Accessibility & contrast

On white

5.05
#9F41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9F41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D2#FFFFFF#000000##FFFFFF
##9F41D21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#986085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f41d2;
/* rgb */ color: rgb(159, 65, 210);
/* oklch */ color: oklch(56.8% 0.218 311.1);
Tailwind
colors: {
  custom: {
    50: '#c07de1',
    500: '#9f41d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d2;
$custom-light: #c07de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d2",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 278.897,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.21782,
    "h": 311.1
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#9F41D2
secondary
#AED698
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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