#9345D9#9345D9

#9345D9 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.217 H 304.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9345D9
RGBrgb(147, 69, 217)
HSLhsl(272, 66%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(32.3%, 68.2%, 0%, 14.9%)
CIE-LABlab(46.27, 58.98, -62.93)
CIE-LCHlch(46.27, 86.25, 313.15°)
OKLaboklab(56.28% 0.1224 -0.1788)
OKLCHoklch(56.28% 0.217 304.4)
XYZxyz(26.6823, 15.4691, 67.2124)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345D9 #8BD945
analogous
#4945D9 #9345D9 #D945D5
triadic
#9345D9 #D99345 #45D993
tetradic
#9345D9 #D94945 #8BD945 #45D5D9
square
#9345D9 #D94945 #8BD945 #45D5D9
split-complementary
#9345D9 #D5D945 #45D949
monochromatic
#551C88 #7426BB #9345D9 #B178E3 #CEABEE

Accessibility & contrast

On white

5.13
#9345D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9345D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345D9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345D9#FFFFFF#000000##FFFFFF
##9345D91.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#016ED6
Tritanopia (blue-blind)
#86678A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9345d9;
/* rgb */ color: rgb(147, 69, 217);
/* oklch */ color: oklch(56.3% 0.217 304.4);
Tailwind
colors: {
  custom: {
    50: '#b87ee6',
    500: '#9345d9',
    950: '#000000',
  },
}
SCSS
$custom: #9345d9;
$custom-light: #b87ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9345d9",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 271.622,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.21669,
    "h": 304.4
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#9345D9
secondary
#BBDB9E
accent
#E93F8F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9345D9

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

Preview Lab → · Contrast checker → · Palette generator →

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