#9B3FD2#9B3FD2

#9B3FD2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.219 H 309.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9B3FD2
RGBrgb(155, 63, 210)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(26.2%, 70%, 0%, 17.6%)
CIE-LABlab(45.88, 61.67, -59.51)
CIE-LCHlch(45.88, 85.70, 316.02°)
OKLaboklab(56.07% 0.14 -0.1684)
OKLCHoklch(56.07% 0.219 309.7)
XYZxyz(26.9256, 15.1773, 62.4714)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FD2 #76D23F
analogous
#513FD2 #9B3FD2 #D23FBF
triadic
#9B3FD2 #D29B3F #3FD29B
tetradic
#9B3FD2 #D2513F #76D23F #3FBFD2
square
#9B3FD2 #D2513F #76D23F #3FBFD2
split-complementary
#9B3FD2 #BFD23F #3FD251
monochromatic
#571D7A #7A28AC #9B3FD2 #B571DE #CFA2E9

Accessibility & contrast

On white

5.20
#9B3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FD2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FD2#FFFFFF#000000##FFFFFF
##9B3FD21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#935F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3fd2;
/* rgb */ color: rgb(155, 63, 210);
/* oklch */ color: oklch(56.1% 0.219 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd7ce1',
    500: '#9b3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fd2;
$custom-light: #bd7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fd2",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 277.551,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.21901,
    "h": 309.7
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#9B3FD2
secondary
#AED697
accent
#E5437F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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