#9345DA#9345DA

#9345DA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.218 H 304.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9345DA
RGBrgb(147, 69, 218)
HSLhsl(271, 67%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(32.6%, 68.3%, 0%, 14.5%)
CIE-LABlab(46.34, 59.22, -63.39)
CIE-LCHlch(46.34, 86.74, 313.05°)
OKLaboklab(56.35% 0.1223 -0.1801)
OKLCHoklch(56.35% 0.218 304.2)
XYZxyz(26.8128, 15.5213, 67.8994)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345DA #8CDA45
analogous
#4945DA #9345DA #DA45D7
triadic
#9345DA #DA9345 #45DA93
tetradic
#9345DA #DA4945 #8CDA45 #45D7DA
square
#9345DA #DA4945 #8CDA45 #45D7DA
split-complementary
#9345DA #D7DA45 #45DA49
monochromatic
#551B89 #7425BC #9345DA #B178E4 #CEABEE

Accessibility & contrast

On white

5.12
#9345DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9345DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345DA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345DA#FFFFFF#000000##FFFFFF
##9345DA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#85678A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9345da;
/* rgb */ color: rgb(147, 69, 218);
/* oklch */ color: oklch(56.4% 0.218 304.2);
Tailwind
colors: {
  custom: {
    50: '#b87ee6',
    500: '#9345da',
    950: '#000000',
  },
}
SCSS
$custom: #9345da;
$custom-light: #b87ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9345da",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 271.409,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.21773,
    "h": 304.2
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#9345DA
secondary
#BCDC9F
accent
#EA3E90
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9345DA

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

Preview Lab → · Contrast checker → · Palette generator →

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