#9345E3#9345E3

#9345E3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.227 H 302.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9345E3
RGBrgb(147, 69, 227)
HSLhsl(270, 74%, 58%)
HSVhsv(270, 70%, 89%)
CMYKcmyk(35.2%, 69.6%, 0%, 11%)
CIE-LABlab(46.98, 61.31, -67.47)
CIE-LCHlch(46.98, 91.16, 312.26°)
OKLaboklab(57.01% 0.121 -0.1921)
OKLCHoklch(57.01% 0.227 302.2)
XYZxyz(28.0226, 16.0053, 74.2712)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345E3 #95E345
analogous
#4546E3 #9345E3 #E245E3
triadic
#9345E3 #E39345 #45E393
tetradic
#9345E3 #E34546 #95E345 #45E3E2
square
#9345E3 #E34546 #95E345 #45E3E2
split-complementary
#9345E3 #E3E245 #46E345
monochromatic
#561797 #741FCC #9345E3 #B27AEB #D1AFF3

Accessibility & contrast

On white

5.00
#9345E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9345E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345E3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345E3#FFFFFF#000000##FFFFFF
##9345E31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#826B8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9345e3;
/* rgb */ color: rgb(147, 69, 227);
/* oklch */ color: oklch(57.0% 0.227 302.2);
Tailwind
colors: {
  custom: {
    50: '#b97fed',
    500: '#9345e3',
    950: '#000000',
  },
}
SCSS
$custom: #9345e3;
$custom-light: #b97fed;
$custom-dark: #000000;
JSON
{
  "hex": "#9345e3",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 227
  },
  "hsl": {
    "h": 269.62,
    "s": 73.832,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.22705,
    "h": 302.2
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#9345E3
secondary
#C2E1A2
accent
#F03795
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9345E3

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

Preview Lab → · Contrast checker → · Palette generator →

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