#9B3FF1#9B3FF1

#9B3FF1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.3% C 0.249 H 302.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9B3FF1
RGBrgb(155, 63, 241)
HSLhsl(271, 86%, 60%)
HSVhsv(271, 74%, 95%)
CMYKcmyk(35.7%, 73.9%, 0%, 5.5%)
CIE-LABlab(48.10, 68.50, -73.50)
CIE-LCHlch(48.10, 100.47, 312.98°)
OKLaboklab(58.34% 0.1346 -0.2096)
OKLCHoklch(58.34% 0.249 302.7)
XYZxyz(31.1685, 16.8744, 84.8171)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FF1 #95F13F
analogous
#423FF1 #9B3FF1 #F13FEE
triadic
#9B3FF1 #F19B3F #3FF19B
tetradic
#9B3FF1 #F1423F #95F13F #3FEEF1
square
#9B3FF1 #F1423F #95F13F #3FEEF1
split-complementary
#9B3FF1 #EEF13F #3FF142
monochromatic
#5D0CA9 #7D11E2 #9B3FF1 #B978F5 #D6B1F9

Accessibility & contrast

On white

4.80
#9B3FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9B3FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FF1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FF1#FFFFFF#000000##FFFFFF
##9B3FF11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F6
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#896C96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b3ff1;
/* rgb */ color: rgb(155, 63, 241);
/* oklch */ color: oklch(58.3% 0.249 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf7df7',
    500: '#9b3ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ff1;
$custom-light: #bf7df7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ff1",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 241
  },
  "hsl": {
    "h": 271.011,
    "s": 86.408,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.2491,
    "h": 302.7
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#9B3FF1
secondary
#C5E8A3
accent
#FD2B90
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A17
muted
#827C85

Preview Lab

Preview with #9B3FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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