#9347CB#9347CB

#9347CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.199 H 307.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9347CB
RGBrgb(147, 71, 203)
HSLhsl(275, 56%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(27.6%, 65%, 0%, 20.4%)
CIE-LABlab(45.66, 54.84, -55.87)
CIE-LCHlch(45.66, 78.29, 314.46°)
OKLaboklab(55.55% 0.1217 -0.1581)
OKLCHoklch(55.55% 0.199 307.6)
XYZxyz(25.0631, 15.0217, 58.0675)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9347CB #7FCB47
analogous
#5147CB #9347CB #CB47C1
triadic
#9347CB #CB9347 #47CB93
tetradic
#9347CB #CB5147 #7FCB47 #47C1CB
square
#9347CB #CB5147 #7FCB47 #47C1CB
split-complementary
#9347CB #C1CB47 #47CB51
monochromatic
#522176 #732FA6 #9347CB #AF77D8 #CBA6E6

Accessibility & contrast

On white

5.24
#9347CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9347CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9347CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9347CB#FFFFFF#000000##FFFFFF
##9347CB1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#8A6383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9347cb;
/* rgb */ color: rgb(147, 71, 203);
/* oklch */ color: oklch(55.5% 0.199 307.6);
Tailwind
colors: {
  custom: {
    50: '#b77fdc',
    500: '#9347cb',
    950: '#000000',
  },
}
SCSS
$custom: #9347cb;
$custom-light: #b77fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9347cb",
  "rgb": {
    "r": 147,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 274.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55547,
    "c": 0.19949,
    "h": 307.6
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#9347CB
secondary
#B3D39B
accent
#DF4988
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9347CB

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

Preview Lab → · Contrast checker → · Palette generator →

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