#9351CA#9351CA

#9351CA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.184 H 306.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9351CA
RGBrgb(147, 81, 202)
HSLhsl(273, 53%, 55%)
HSVhsv(273, 60%, 79%)
CMYKcmyk(27.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(47.43, 49.62, -52.45)
CIE-LCHlch(47.43, 72.20, 313.41°)
OKLaboklab(56.81% 0.1099 -0.1481)
OKLCHoklch(56.81% 0.184 306.6)
XYZxyz(25.6335, 16.3524, 57.6716)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9351CA #88CA51
analogous
#5651CA #9351CA #CA51C5
triadic
#9351CA #CA9351 #51CA93
tetradic
#9351CA #CA5651 #88CA51 #51C5CA
square
#9351CA #CA5651 #88CA51 #51C5CA
split-complementary
#9351CA #C5CA51 #51CA56
monochromatic
#54257B #7434AA #9351CA #B080D8 #CDAFE7

Accessibility & contrast

On white

4.92
#9351CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9351CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9351CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9351CA#FFFFFF#000000##FFFFFF
##9351CA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#8A6986
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9351ca;
/* rgb */ color: rgb(147, 81, 202);
/* oklch */ color: oklch(56.8% 0.184 306.6);
Tailwind
colors: {
  custom: {
    50: '#b685db',
    500: '#9351ca',
    950: '#000000',
  },
}
SCSS
$custom: #9351ca;
$custom-light: #b685db;
$custom-dark: #000000;
JSON
{
  "hex": "#9351ca",
  "rgb": {
    "r": 147,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 272.727,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.18439,
    "h": 306.6
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#9351CA
secondary
#B9D5A2
accent
#DD4B8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9351CA

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

Preview Lab → · Contrast checker → · Palette generator →

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