#9B3FED#9B3FED

#9B3FED is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 58.0% C 0.245 H 303.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B3FED
RGBrgb(155, 63, 237)
HSLhsl(272, 83%, 59%)
HSVhsv(272, 73%, 93%)
CMYKcmyk(34.6%, 73.4%, 0%, 7.1%)
CIE-LABlab(47.80, 67.60, -71.74)
CIE-LCHlch(47.80, 98.57, 313.30°)
OKLaboklab(58.04% 0.1355 -0.2044)
OKLCHoklch(58.04% 0.245 303.5)
XYZxyz(30.5776, 16.6380, 81.7049)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FED #91ED3F
analogous
#443FED #9B3FED #ED3FE8
triadic
#9B3FED #ED9B3F #3FED9B
tetradic
#9B3FED #ED443F #91ED3F #3FE8ED
square
#9B3FED #ED443F #91ED3F #3FE8ED
split-complementary
#9B3FED #E8ED3F #3FED44
monochromatic
#5D0FA2 #7D14DA #9B3FED #B877F2 #D5AFF7

Accessibility & contrast

On white

4.85
#9B3FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9B3FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FED#FFFFFF#000000##FFFFFF
##9B3FED1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#8B6A93
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b3fed;
/* rgb */ color: rgb(155, 63, 237);
/* oklch */ color: oklch(58.0% 0.245 303.5);
Tailwind
colors: {
  custom: {
    50: '#bf7df4',
    500: '#9b3fed',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fed;
$custom-light: #bf7df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fed",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 237
  },
  "hsl": {
    "h": 271.724,
    "s": 82.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.24523,
    "h": 303.5
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#9B3FED
secondary
#C2E6A2
accent
#F92F8E
background
#FCF7FF
surface
#F8EEFE
border
#D1C9D6
text
#130A17
muted
#827C85

Preview Lab

Preview with #9B3FED

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

Preview Lab → · Contrast checker → · Palette generator →

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