#9F50CA#9F50CA

#9F50CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.190 H 311.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9F50CA
RGBrgb(159, 80, 202)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 60%, 79%)
CMYKcmyk(21.3%, 60.4%, 0%, 20.8%)
CIE-LABlab(48.73, 53.01, -50.30)
CIE-LCHlch(48.73, 73.07, 316.50°)
OKLaboklab(58.07% 0.1264 -0.1414)
OKLCHoklch(58.07% 0.19 311.8)
XYZxyz(27.8255, 17.3732, 57.7532)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50CA #7BCA50
analogous
#6250CA #9F50CA #CA50B8
triadic
#9F50CA #CA9F50 #50CA9F
tetradic
#9F50CA #CA6250 #7BCA50 #50B8CA
square
#9F50CA #CA6250 #7BCA50 #50B8CA
split-complementary
#9F50CA #B8CA50 #50CA62
monochromatic
#5C257A #8033A9 #9F50CA #B97FD8 #D3AEE6

Accessibility & contrast

On white

4.69
#9F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50CA#FFFFFF#000000##FFFFFF
##9F50CA1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#9A6786
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f50ca;
/* rgb */ color: rgb(159, 80, 202);
/* oklch */ color: oklch(58.1% 0.190 311.8);
Tailwind
colors: {
  custom: {
    50: '#bf85db',
    500: '#9f50ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f50ca;
$custom-light: #bf85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50ca",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 278.852,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.18967,
    "h": 311.8
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#9F50CA
secondary
#B3D4A1
accent
#DD4B7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9F50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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