#9351CB#9351CB

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

Color values

HEX#9351CB
RGBrgb(147, 81, 203)
HSLhsl(272, 54%, 56%)
HSVhsv(272, 60%, 80%)
CMYKcmyk(27.6%, 60.1%, 0%, 20.4%)
CIE-LABlab(47.49, 49.86, -52.93)
CIE-LCHlch(47.49, 72.71, 313.29°)
OKLaboklab(56.87% 0.1099 -0.1495)
OKLCHoklch(56.87% 0.186 306.3)
XYZxyz(25.7523, 16.3999, 58.2972)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351CB #89CB51
analogous
#5651CB #9351CB #CB51C6
triadic
#9351CB #CB9351 #51CB93
tetradic
#9351CB #CB5651 #89CB51 #51C6CB
square
#9351CB #CB5651 #89CB51 #51C6CB
split-complementary
#9351CB #C6CB51 #51CB56
monochromatic
#54257C #7433AC #9351CB #B080D9 #CDAFE7

Accessibility & contrast

On white

4.91
#9351CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9351CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351CB#FFFFFF#000000##FFFFFF
##9351CB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#8A6986
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9351cb;
/* rgb */ color: rgb(147, 81, 203);
/* oklch */ color: oklch(56.9% 0.186 306.3);
Tailwind
colors: {
  custom: {
    50: '#b685db',
    500: '#9351cb',
    950: '#000000',
  },
}
SCSS
$custom: #9351cb;
$custom-light: #b685db;
$custom-dark: #000000;
JSON
{
  "hex": "#9351cb",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 272.459,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.18551,
    "h": 306.3
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#9351CB
secondary
#BAD5A3
accent
#DD4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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