#9351DC#9351DC

#9351DC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.204 H 302.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9351DC
RGBrgb(147, 81, 220)
HSLhsl(268, 67%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(33.2%, 63.2%, 0%, 13.7%)
CIE-LABlab(48.58, 53.90, -60.90)
CIE-LCHlch(48.58, 81.33, 311.51°)
OKLaboklab(58.01% 0.1091 -0.1729)
OKLCHoklch(58.01% 0.204 302.3)
XYZxyz(27.8903, 17.2552, 69.5575)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351DC #9ADC51
analogous
#5155DC #9351DC #D851DC
triadic
#9351DC #DC9351 #51DC93
tetradic
#9351DC #DC5155 #9ADC51 #51DCD8
square
#9351DC #DC5155 #9ADC51 #51DCD8
split-complementary
#9351DC #DCD851 #55DC51
monochromatic
#561E95 #7428C8 #9351DC #B384E6 #D2B7F0

Accessibility & contrast

On white

4.72
#9351DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9351DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351DC#FFFFFF#000000##FFFFFF
##9351DC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#846F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9351dc;
/* rgb */ color: rgb(147, 81, 220);
/* oklch */ color: oklch(58.0% 0.204 302.3);
Tailwind
colors: {
  custom: {
    50: '#b785e8',
    500: '#9351dc',
    950: '#000000',
  },
}
SCSS
$custom: #9351dc;
$custom-light: #b785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9351dc",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 268.489,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.20444,
    "h": 302.3
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#9351DC
secondary
#C6E0A9
accent
#E93E98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9351DC

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

Preview Lab → · Contrast checker → · Palette generator →

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