#9351CD#9351CD

#9351CD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.188 H 305.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9351CD
RGBrgb(147, 81, 205)
HSLhsl(272, 55%, 56%)
HSVhsv(272, 60%, 80%)
CMYKcmyk(28.3%, 60.5%, 0%, 19.6%)
CIE-LABlab(47.62, 50.32, -53.88)
CIE-LCHlch(47.62, 73.73, 313.05°)
OKLaboklab(57% 0.1098 -0.1523)
OKLCHoklch(57% 0.188 305.8)
XYZxyz(25.9921, 16.4959, 59.5605)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351CD #8BCD51
analogous
#5551CD #9351CD #CD51C9
triadic
#9351CD #CD9351 #51CD93
tetradic
#9351CD #CD5551 #8BCD51 #51C9CD
square
#9351CD #CD5551 #8BCD51 #51C9CD
split-complementary
#9351CD #C9CD51 #51CD55
monochromatic
#55257F #7432AF #9351CD #B181DB #CEB0E8

Accessibility & contrast

On white

4.88
#9351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351CD#FFFFFF#000000##FFFFFF
##9351CD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#896A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9351cd;
/* rgb */ color: rgb(147, 81, 205);
/* oklch */ color: oklch(57.0% 0.188 305.8);
Tailwind
colors: {
  custom: {
    50: '#b685dd',
    500: '#9351cd',
    950: '#000000',
  },
}
SCSS
$custom: #9351cd;
$custom-light: #b685dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9351cd",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 271.935,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.18774,
    "h": 305.8
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#9351CD
secondary
#BBD7A3
accent
#DF498F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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