#9345D5#9345D5

#9345D5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.213 H 305.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9345D5
RGBrgb(147, 69, 213)
HSLhsl(273, 63%, 55%)
HSVhsv(273, 68%, 84%)
CMYKcmyk(31%, 67.6%, 0%, 16.5%)
CIE-LABlab(45.99, 58.06, -61.09)
CIE-LCHlch(45.99, 84.28, 313.54°)
OKLaboklab(56% 0.1229 -0.1734)
OKLCHoklch(56% 0.213 305.3)
XYZxyz(26.1683, 15.2636, 64.5055)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345D5 #87D545
analogous
#4B45D5 #9345D5 #D545CF
triadic
#9345D5 #D59345 #45D593
tetradic
#9345D5 #D54B45 #87D545 #45CFD5
square
#9345D5 #D54B45 #87D545 #45CFD5
split-complementary
#9345D5 #CFD545 #45D54B
monochromatic
#541D82 #7429B4 #9345D5 #B077E0 #CDA9EC

Accessibility & contrast

On white

5.18
#9345D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9345D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345D5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345D5#FFFFFF#000000##FFFFFF
##9345D51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#136DD2
Tritanopia (blue-blind)
#876588
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9345d5;
/* rgb */ color: rgb(147, 69, 213);
/* oklch */ color: oklch(56.0% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#b87ee3',
    500: '#9345d5',
    950: '#000000',
  },
}
SCSS
$custom: #9345d5;
$custom-light: #b87ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9345d5",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 272.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.21253,
    "h": 305.3
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#9345D5
secondary
#B8D99D
accent
#E6428D
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9345D5

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

Preview Lab → · Contrast checker → · Palette generator →

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