#9345C2#9345C2

#9345C2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.193 H 310.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9345C2
RGBrgb(147, 69, 194)
HSLhsl(277, 51%, 52%)
HSVhsv(277, 64%, 76%)
CMYKcmyk(24.2%, 64.4%, 0%, 23.9%)
CIE-LABlab(44.74, 53.77, -52.15)
CIE-LCHlch(44.74, 74.91, 315.88°)
OKLaboklab(54.7% 0.1246 -0.1471)
OKLCHoklch(54.7% 0.193 310.3)
XYZxyz(23.8965, 14.3548, 52.5404)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345C2 #74C245
analogous
#5545C2 #9345C2 #C245B3
triadic
#9345C2 #C29345 #45C293
tetradic
#9345C2 #C25545 #74C245 #45B3C2
square
#9345C2 #C25545 #74C245 #45B3C2
split-complementary
#9345C2 #B3C245 #45C255
monochromatic
#4F236A #723298 #9345C2 #AE73D1 #C9A1E0

Accessibility & contrast

On white

5.43
#9345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9345C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345C2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345C2#FFFFFF#000000##FFFFFF
##9345C21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#8D5E7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9345c2;
/* rgb */ color: rgb(147, 69, 194);
/* oklch */ color: oklch(54.7% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#b67ed5',
    500: '#9345c2',
    950: '#000000',
  },
}
SCSS
$custom: #9345c2;
$custom-light: #b67ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#9345c2",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 277.44,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.19279,
    "h": 310.3
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#9345C2
secondary
#ABCD96
accent
#DA4E82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9345C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9345C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva