#9331C6#9331C6

#9331C6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.221 H 310.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9331C6
RGBrgb(147, 49, 198)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 78%)
CMYKcmyk(25.8%, 75.3%, 0%, 22.4%)
CIE-LABlab(41.97, 63.18, -58.95)
CIE-LCHlch(41.97, 86.41, 316.98°)
OKLaboklab(52.8% 0.1448 -0.167)
OKLCHoklch(52.8% 0.221 310.9)
XYZxyz(23.3220, 12.4775, 54.5950)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331C6 #64C631
analogous
#4831C6 #9331C6 #C631AE
triadic
#9331C6 #C69331 #31C693
tetradic
#9331C6 #C64831 #64C631 #31AEC6
square
#9331C6 #C64831 #64C631 #31AEC6
split-complementary
#9331C6 #AEC631 #31C648
monochromatic
#4A1964 #6F2595 #9331C6 #AD5DD7 #C68EE3

Accessibility & contrast

On white

6.01
#9331C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9331C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331C6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331C6#FFFFFF#000000##FFFFFF
##9331C61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0F65C3
Tritanopia (blue-blind)
#8C547A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9331c6;
/* rgb */ color: rgb(147, 49, 198);
/* oklch */ color: oklch(52.8% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#b873d8',
    500: '#9331c6',
    950: '#000000',
  },
}
SCSS
$custom: #9331c6;
$custom-light: #b873d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9331c6",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 279.463,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.22101,
    "h": 310.9
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#9331C6
secondary
#9ECE85
accent
#E3447B
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9331C6

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

Preview Lab → · Contrast checker → · Palette generator →

#9331C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva