#9B3FCC#9B3FCC

#9B3FCC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.213 H 311.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9B3FCC
RGBrgb(155, 63, 204)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 69%, 80%)
CMYKcmyk(24%, 69.1%, 0%, 20%)
CIE-LABlab(45.47, 60.39, -56.70)
CIE-LCHlch(45.47, 82.84, 316.81°)
OKLaboklab(55.66% 0.1407 -0.1602)
OKLCHoklch(55.66% 0.213 311.3)
XYZxyz(26.1921, 14.8839, 58.6081)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FCC #70CC3F
analogous
#553FCC #9B3FCC #CC3FB7
triadic
#9B3FCC #CC9B3F #3FCC9B
tetradic
#9B3FCC #CC553F #70CC3F #3FB7CC
square
#9B3FCC #CC553F #70CC3F #3FB7CC
split-complementary
#9B3FCC #B7CC3F #3FCC55
monochromatic
#551E72 #792BA3 #9B3FCC #B46FD9 #CDA0E6

Accessibility & contrast

On white

5.28
#9B3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9B3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FCC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FCC#FFFFFF#000000##FFFFFF
##9B3FCC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#955D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3fcc;
/* rgb */ color: rgb(155, 63, 204);
/* oklch */ color: oklch(55.7% 0.213 311.3);
Tailwind
colors: {
  custom: {
    50: '#bd7bdc',
    500: '#9b3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fcc;
$custom-light: #bd7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fcc",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 279.149,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.21319,
    "h": 311.3
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#9B3FCC
secondary
#AAD295
accent
#E1477C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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