#9347DC#9347DC

#9347DC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.217 H 303.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9347DC
RGBrgb(147, 71, 220)
HSLhsl(271, 68%, 57%)
HSVhsv(271, 68%, 86%)
CMYKcmyk(33.2%, 67.7%, 0%, 13.7%)
CIE-LABlab(46.81, 58.75, -63.76)
CIE-LCHlch(46.81, 86.70, 312.66°)
OKLaboklab(56.74% 0.12 -0.1813)
OKLCHoklch(56.74% 0.217 303.5)
XYZxyz(27.2011, 15.8769, 69.3278)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9347DC #90DC47
analogous
#4947DC #9347DC #DC47DB
triadic
#9347DC #DC9347 #47DC93
tetradic
#9347DC #DC4947 #90DC47 #47DBDC
square
#9347DC #DC4947 #90DC47 #47DBDC
split-complementary
#9347DC #DBDC47 #47DC49
monochromatic
#551B8E #7425C1 #9347DC #B17AE6 #CFAEF0

Accessibility & contrast

On white

5.03
#9347DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9347DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9347DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9347DC#FFFFFF#000000##FFFFFF
##9347DC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#85698C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9347dc;
/* rgb */ color: rgb(147, 71, 220);
/* oklch */ color: oklch(56.7% 0.217 303.5);
Tailwind
colors: {
  custom: {
    50: '#b880e8',
    500: '#9347dc',
    950: '#000000',
  },
}
SCSS
$custom: #9347dc;
$custom-light: #b880e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9347dc",
  "rgb": {
    "r": 147,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 270.604,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.21735,
    "h": 303.5
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#9347DC
secondary
#BFDEA1
accent
#EB3D92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9347DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9347DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva