#9B50CA#9B50CA

#9B50CA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.188 H 310.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B50CA
RGBrgb(155, 80, 202)
HSLhsl(277, 54%, 55%)
HSVhsv(277, 60%, 79%)
CMYKcmyk(23.3%, 60.4%, 0%, 20.8%)
CIE-LABlab(48.22, 52.04, -51.13)
CIE-LCHlch(48.22, 72.96, 315.51°)
OKLaboklab(57.6% 0.1214 -0.144)
OKLCHoklch(57.6% 0.188 310.1)
XYZxyz(27.0449, 16.9707, 57.7166)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50CA #7FCA50
analogous
#5E50CA #9B50CA #CA50BC
triadic
#9B50CA #CA9B50 #50CA9B
tetradic
#9B50CA #CA5E50 #7FCA50 #50BCCA
square
#9B50CA #CA5E50 #7FCA50 #50BCCA
split-complementary
#9B50CA #BCCA50 #50CA5E
monochromatic
#5A257A #7C33A9 #9B50CA #B67FD8 #D1AEE6

Accessibility & contrast

On white

4.78
#9B50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9B50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50CA#FFFFFF#000000##FFFFFF
##9B50CA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#956786
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b50ca;
/* rgb */ color: rgb(155, 80, 202);
/* oklch */ color: oklch(57.6% 0.188 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc85db',
    500: '#9b50ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b50ca;
$custom-light: #bc85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50ca",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 276.885,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57597,
    "c": 0.18829,
    "h": 310.1
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

primary
#9B50CA
secondary
#B5D4A1
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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