#9F50DB#9F50DB

#9F50DB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.208 H 307.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9F50DB
RGBrgb(159, 80, 219)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(27.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.77, 56.77, -58.35)
CIE-LCHlch(49.77, 81.41, 314.21°)
OKLaboklab(59.16% 0.1259 -0.165)
OKLCHoklch(59.16% 0.208 307.3)
XYZxyz(29.9503, 18.2231, 68.9437)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50DB #8CDB50
analogous
#5950DB #9F50DB #DB50D1
triadic
#9F50DB #DB9F50 #50DB9F
tetradic
#9F50DB #DB5950 #8CDB50 #50D1DB
square
#9F50DB #DB5950 #8CDB50 #50D1DB
split-complementary
#9F50DB #D1DB50 #50DB59
monochromatic
#601E92 #8229C5 #9F50DB #BB83E5 #D7B6F0

Accessibility & contrast

On white

4.52
#9F50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9F50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50DB#FFFFFF#000000##000000
##9F50DB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#956D8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f50db;
/* rgb */ color: rgb(159, 80, 219);
/* oklch */ color: oklch(59.2% 0.208 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf86e7',
    500: '#9f50db',
    950: '#000000',
  },
}
SCSS
$custom: #9f50db;
$custom-light: #bf86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50db",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 274.101,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.20756,
    "h": 307.3
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#9F50DB
secondary
#C0DFA8
accent
#E93F88
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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