#9F49DC#9F49DC

#9F49DC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.218 H 307.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F49DC
RGBrgb(159, 73, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 67%, 86%)
CMYKcmyk(27.7%, 66.8%, 0%, 13.7%)
CIE-LABlab(48.64, 60.28, -60.73)
CIE-LCHlch(48.64, 85.57, 314.78°)
OKLaboklab(58.37% 0.1336 -0.172)
OKLCHoklch(58.37% 0.218 307.8)
XYZxyz(29.5962, 17.3037, 69.4771)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49DC #86DC49
analogous
#5549DC #9F49DC #DC49D0
triadic
#9F49DC #DC9F49 #49DC9F
tetradic
#9F49DC #DC5549 #86DC49 #49D0DC
square
#9F49DC #DC5549 #86DC49 #49D0DC
split-complementary
#9F49DC #D0DC49 #49DC55
monochromatic
#5F1C8F #8125C2 #9F49DC #BA7CE6 #D5B0F0

Accessibility & contrast

On white

4.71
#9F49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9F49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49DC#FFFFFF#000000##FFFFFF
##9F49DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#95698D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f49dc;
/* rgb */ color: rgb(159, 73, 220);
/* oklch */ color: oklch(58.4% 0.218 307.8);
Tailwind
colors: {
  custom: {
    50: '#c082e8',
    500: '#9f49dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f49dc;
$custom-light: #c082e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49dc",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 275.102,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.21776,
    "h": 307.8
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#9F49DC
secondary
#BBDEA3
accent
#EB3D85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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