#9345DF#9345DF

#9345DF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.223 H 303.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9345DF
RGBrgb(147, 69, 223)
HSLhsl(270, 71%, 57%)
HSVhsv(270, 69%, 87%)
CMYKcmyk(34.1%, 69.1%, 0%, 12.5%)
CIE-LABlab(46.69, 60.38, -65.66)
CIE-LCHlch(46.69, 89.20, 312.60°)
OKLaboklab(56.72% 0.1216 -0.1868)
OKLCHoklch(56.72% 0.223 303.1)
XYZxyz(27.4769, 15.7870, 71.3974)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345DF #91DF45
analogous
#4645DF #9345DF #DF45DE
triadic
#9345DF #DF9345 #45DF93
tetradic
#9345DF #DF4645 #91DF45 #45DEDF
square
#9345DF #DF4645 #91DF45 #45DEDF
split-complementary
#9345DF #DEDF45 #45DF46
monochromatic
#561991 #7422C5 #9345DF #B179E8 #D0ADF1

Accessibility & contrast

On white

5.05
#9345DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9345DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345DF#FFFFFF#000000##FFFFFF
##9345DF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#84698D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9345df;
/* rgb */ color: rgb(147, 69, 223);
/* oklch */ color: oklch(56.7% 0.223 303.1);
Tailwind
colors: {
  custom: {
    50: '#b87fea',
    500: '#9345df',
    950: '#000000',
  },
}
SCSS
$custom: #9345df;
$custom-light: #b87fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9345df",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 270.39,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.22291,
    "h": 303.1
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#9345DF
secondary
#BFDFA1
accent
#ED3A93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9345DF

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

Preview Lab → · Contrast checker → · Palette generator →

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