#9345D8#9345D8

#9345D8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.216 H 304.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9345D8
RGBrgb(147, 69, 216)
HSLhsl(272, 65%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(31.9%, 68.1%, 0%, 15.3%)
CIE-LABlab(46.20, 58.75, -62.47)
CIE-LCHlch(46.20, 85.76, 313.24°)
OKLaboklab(56.21% 0.1226 -0.1774)
OKLCHoklch(56.21% 0.216 304.6)
XYZxyz(26.5526, 15.4173, 66.5294)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345D8 #8AD845
analogous
#4945D8 #9345D8 #D845D3
triadic
#9345D8 #D89345 #45D893
tetradic
#9345D8 #D84945 #8AD845 #45D3D8
square
#9345D8 #D84945 #8AD845 #45D3D8
split-complementary
#9345D8 #D3D845 #45D849
monochromatic
#551C86 #7427B9 #9345D8 #B078E3 #CEAAED

Accessibility & contrast

On white

5.14
#9345D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9345D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345D8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345D8#FFFFFF#000000##FFFFFF
##9345D81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#066DD5
Tritanopia (blue-blind)
#866689
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9345d8;
/* rgb */ color: rgb(147, 69, 216);
/* oklch */ color: oklch(56.2% 0.216 304.6);
Tailwind
colors: {
  custom: {
    50: '#b87ee5',
    500: '#9345d8',
    950: '#000000',
  },
}
SCSS
$custom: #9345d8;
$custom-light: #b87ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9345d8",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 271.837,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.21565,
    "h": 304.6
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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