#9B3CE6#9B3CE6

#9B3CE6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.2% C 0.242 H 305.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B3CE6
RGBrgb(155, 60, 230)
HSLhsl(274, 77%, 57%)
HSVhsv(274, 74%, 90%)
CMYKcmyk(32.6%, 73.9%, 0%, 9.8%)
CIE-LABlab(46.86, 67.25, -69.32)
CIE-LCHlch(46.86, 96.58, 314.13°)
OKLaboklab(57.21% 0.1395 -0.1973)
OKLCHoklch(57.21% 0.242 305.3)
XYZxyz(29.4132, 15.9136, 76.3697)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CE6 #87E63C
analogous
#463CE6 #9B3CE6 #E63CDC
triadic
#9B3CE6 #E69B3C #3CE69B
tetradic
#9B3CE6 #E6463C #87E63C #3CDCE6
square
#9B3CE6 #E6463C #87E63C #3CDCE6
split-complementary
#9B3CE6 #DCE63C #3CE646
monochromatic
#5B1395 #7D1ACB #9B3CE6 #B772ED #D3A8F4

Accessibility & contrast

On white

5.02
#9B3CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9B3CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CE6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CE6#FFFFFF#000000##FFFFFF
##9B3CE61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#8D668F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b3ce6;
/* rgb */ color: rgb(155, 60, 230);
/* oklch */ color: oklch(57.2% 0.242 305.3);
Tailwind
colors: {
  custom: {
    50: '#bf7bef',
    500: '#9b3ce6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ce6;
$custom-light: #bf7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ce6",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 230
  },
  "hsl": {
    "h": 273.529,
    "s": 77.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.24161,
    "h": 305.3
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#9B3CE6
secondary
#BBE29C
accent
#F43489
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9B3CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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