#9F49CB#9F49CB

#9F49CB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.201 H 312.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9F49CB
RGBrgb(159, 73, 203)
HSLhsl(280, 56%, 54%)
HSVhsv(280, 64%, 80%)
CMYKcmyk(21.7%, 64%, 0%, 20.4%)
CIE-LABlab(47.56, 56.58, -52.75)
CIE-LCHlch(47.56, 77.35, 317.01°)
OKLaboklab(57.24% 0.1348 -0.1485)
OKLCHoklch(57.24% 0.201 312.2)
XYZxyz(27.4582, 16.4485, 58.2168)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49CB #75CB49
analogous
#5E49CB #9F49CB #CB49B6
triadic
#9F49CB #CB9F49 #49CB9F
tetradic
#9F49CB #CB5E49 #75CB49 #49B6CB
square
#9F49CB #CB5E49 #75CB49 #49B6CB
split-complementary
#9F49CB #B6CB49 #49CB5E
monochromatic
#5B2277 #7F30A7 #9F49CB #B879D9 #D1A8E6

Accessibility & contrast

On white

4.90
#9F49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9F49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49CB#FFFFFF#000000##FFFFFF
##9F49CB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#9A6284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f49cb;
/* rgb */ color: rgb(159, 73, 203);
/* oklch */ color: oklch(57.2% 0.201 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf81db',
    500: '#9f49cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f49cb;
$custom-light: #bf81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49cb",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 279.692,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.20057,
    "h": 312.2
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#9F49CB
secondary
#AFD49C
accent
#DF497C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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