#9F41DD#9F41DD

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

Color values

HEX#9F41DD
RGBrgb(159, 65, 221)
HSLhsl(276, 70%, 56%)
HSVhsv(276, 71%, 87%)
CMYKcmyk(28.1%, 70.6%, 0%, 13.3%)
CIE-LABlab(47.46, 63.99, -63.21)
CIE-LCHlch(47.46, 89.95, 315.35°)
OKLaboklab(57.55% 0.1417 -0.1792)
OKLCHoklch(57.55% 0.228 308.3)
XYZxyz(29.2368, 16.3724, 70.0126)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41DD #7FDD41
analogous
#5141DD #9F41DD #DD41CD
triadic
#9F41DD #DD9F41 #41DD9F
tetradic
#9F41DD #DD5141 #7FDD41 #41CDDD
square
#9F41DD #DD5141 #7FDD41 #41CDDD
split-complementary
#9F41DD #CDDD41 #41DD51
monochromatic
#5D198B #8022BF #9F41DD #B975E6 #D3A9F0

Accessibility & contrast

On white

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

On black

4.27
#9F41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F41DD#FFFFFF#000000##FFFFFF
##9F41DD1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#1672DA
Tritanopia (blue-blind)
#95648B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f41dd;
/* rgb */ color: rgb(159, 65, 221);
/* oklch */ color: oklch(57.5% 0.228 308.3);
Tailwind
colors: {
  custom: {
    50: '#c07de8',
    500: '#9f41dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f41dd;
$custom-light: #c07de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41dd",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 276.154,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.22845,
    "h": 308.3
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#9F41DD
secondary
#B6DD9D
accent
#EC3B82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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