#9B3FCA#9B3FCA

#9B3FCA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.211 H 311.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9B3FCA
RGBrgb(155, 63, 202)
HSLhsl(280, 57%, 52%)
HSVhsv(280, 69%, 79%)
CMYKcmyk(23.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(45.34, 59.97, -55.76)
CIE-LCHlch(45.34, 81.89, 317.09°)
OKLaboklab(55.52% 0.1409 -0.1574)
OKLCHoklch(55.52% 0.211 311.8)
XYZxyz(25.9538, 14.7885, 57.3529)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FCA #6ECA3F
analogous
#553FCA #9B3FCA #CA3FB4
triadic
#9B3FCA #CA9B3F #3FCA9B
tetradic
#9B3FCA #CA553F #6ECA3F #3FB4CA
square
#9B3FCA #CA553F #6ECA3F #3FB4CA
split-complementary
#9B3FCA #B4CA3F #3FCA55
monochromatic
#541F70 #792CA0 #9B3FCA #B46FD7 #CD9FE4

Accessibility & contrast

On white

5.31
#9B3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9B3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FCA#FFFFFF#000000##FFFFFF
##9B3FCA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#955C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3fca;
/* rgb */ color: rgb(155, 63, 202);
/* oklch */ color: oklch(55.5% 0.211 311.8);
Tailwind
colors: {
  custom: {
    50: '#bd7bdb',
    500: '#9b3fca',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fca;
$custom-light: #bd7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fca",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 279.712,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.21126,
    "h": 311.8
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#9B3FCA
secondary
#A9D194
accent
#E0487B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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