#9351CC#9351CC

#9351CC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.187 H 306.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9351CC
RGBrgb(147, 81, 204)
HSLhsl(272, 55%, 56%)
HSVhsv(272, 60%, 80%)
CMYKcmyk(27.9%, 60.3%, 0%, 20%)
CIE-LABlab(47.56, 50.09, -53.40)
CIE-LCHlch(47.56, 73.22, 313.17°)
OKLaboklab(56.94% 0.1098 -0.1509)
OKLCHoklch(56.94% 0.187 306.1)
XYZxyz(25.8718, 16.4478, 58.9268)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351CC #8ACC51
analogous
#5551CC #9351CC #CC51C8
triadic
#9351CC #CC9351 #51CC93
tetradic
#9351CC #CC5551 #8ACC51 #51C8CC
square
#9351CC #CC5551 #8ACC51 #51C8CC
split-complementary
#9351CC #C8CC51 #51CC55
monochromatic
#55257E #7433AD #9351CC #B080DA #CEB0E8

Accessibility & contrast

On white

4.90
#9351CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9351CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351CC#FFFFFF#000000##FFFFFF
##9351CC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#896A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9351cc;
/* rgb */ color: rgb(147, 81, 204);
/* oklch */ color: oklch(56.9% 0.187 306.1);
Tailwind
colors: {
  custom: {
    50: '#b685dc',
    500: '#9351cc',
    950: '#000000',
  },
}
SCSS
$custom: #9351cc;
$custom-light: #b685dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9351cc",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 272.195,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.18662,
    "h": 306.1
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#9351CC
secondary
#BBD6A3
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9351CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9351CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva