#9351D5#9351D5

#9351D5 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.197 H 303.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9351D5
RGBrgb(147, 81, 213)
HSLhsl(270, 61%, 58%)
HSVhsv(270, 62%, 84%)
CMYKcmyk(31%, 62%, 0%, 16.5%)
CIE-LABlab(48.12, 52.22, -57.65)
CIE-LCHlch(48.12, 77.78, 312.17°)
OKLaboklab(57.53% 0.1095 -0.1633)
OKLCHoklch(57.53% 0.197 303.8)
XYZxyz(26.9826, 16.8921, 64.7769)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351D5 #93D551
analogous
#5151D5 #9351D5 #D551D5
triadic
#9351D5 #D59351 #51D593
tetradic
#9351D5 #D55151 #93D551 #51D5D5
square
#9351D5 #D55151 #93D551 #51D5D5
split-complementary
#9351D5 #D5D551 #51D551
monochromatic
#56218A #742DBC #9351D5 #B282E1 #D0B4ED

Accessibility & contrast

On white

4.80
#9351D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9351D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351D5#FFFFFF#000000##FFFFFF
##9351D51.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#876D8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9351d5;
/* rgb */ color: rgb(147, 81, 213);
/* oklch */ color: oklch(57.5% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#b785e3',
    500: '#9351d5',
    950: '#000000',
  },
}
SCSS
$custom: #9351d5;
$custom-light: #b785e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9351d5",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.19666,
    "h": 303.8
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#9351D5
secondary
#C1DBA6
accent
#E44494
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9351D5

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

Preview Lab → · Contrast checker → · Palette generator →

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