#9F49CF#9F49CF

#9F49CF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.205 H 311.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F49CF
RGBrgb(159, 73, 207)
HSLhsl(279, 58%, 55%)
HSVhsv(279, 65%, 81%)
CMYKcmyk(23.2%, 64.7%, 0%, 18.8%)
CIE-LABlab(47.81, 57.44, -54.65)
CIE-LCHlch(47.81, 79.28, 316.42°)
OKLaboklab(57.5% 0.1346 -0.1541)
OKLCHoklch(57.5% 0.205 311.1)
XYZxyz(27.9410, 16.6417, 60.7597)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49CF #79CF49
analogous
#5C49CF #9F49CF #CF49BC
triadic
#9F49CF #CF9F49 #49CF9F
tetradic
#9F49CF #CF5C49 #79CF49 #49BCCF
square
#9F49CF #CF5C49 #79CF49 #49BCCF
split-complementary
#9F49CF #BCCF49 #49CF5C
monochromatic
#5C217D #7F2EAD #9F49CF #B979DC #D2AAE9

Accessibility & contrast

On white

4.85
#9F49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9F49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49CF#FFFFFF#000000##FFFFFF
##9F49CF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#996486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f49cf;
/* rgb */ color: rgb(159, 73, 207);
/* oklch */ color: oklch(57.5% 0.205 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf81de',
    500: '#9f49cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f49cf;
$custom-light: #bf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49cf",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 278.507,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.2046,
    "h": 311.1
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

primary
#9F49CF
secondary
#B2D69E
accent
#E1467E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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