#9B50CF#9B50CF

#9B50CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.194 H 308.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9B50CF
RGBrgb(155, 80, 207)
HSLhsl(275, 57%, 56%)
HSVhsv(275, 61%, 81%)
CMYKcmyk(25.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(48.53, 53.16, -53.52)
CIE-LCHlch(48.53, 75.44, 314.81°)
OKLaboklab(57.91% 0.1213 -0.151)
OKLCHoklch(57.91% 0.194 308.8)
XYZxyz(27.6465, 17.2113, 60.8851)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50CF #84CF50
analogous
#5C50CF #9B50CF #CF50C4
triadic
#9B50CF #CF9B50 #50CF9B
tetradic
#9B50CF #CF5C50 #84CF50 #50C4CF
square
#9B50CF #CF5C50 #84CF50 #50C4CF
split-complementary
#9B50CF #C4CF50 #50CF5C
monochromatic
#5B2381 #7D31B1 #9B50CF #B680DC #D2B0E9

Accessibility & contrast

On white

4.73
#9B50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9B50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50CF#FFFFFF#000000##FFFFFF
##9B50CF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#936988
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b50cf;
/* rgb */ color: rgb(155, 80, 207);
/* oklch */ color: oklch(57.9% 0.194 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc85de',
    500: '#9b50cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b50cf;
$custom-light: #bc85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50cf",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 275.433,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.19364,
    "h": 308.8
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#9B50CF
secondary
#B9D8A3
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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