#9345CA#9345CA

#9345CA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.201 H 308.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9345CA
RGBrgb(147, 69, 202)
HSLhsl(275, 56%, 53%)
HSVhsv(275, 66%, 79%)
CMYKcmyk(27.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(45.25, 55.56, -55.96)
CIE-LCHlch(45.25, 78.85, 314.80°)
OKLaboklab(55.23% 0.124 -0.1583)
OKLCHoklch(55.23% 0.201 308.1)
XYZxyz(24.8192, 14.7239, 57.4002)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345CA #7CCA45
analogous
#5045CA #9345CA #CA45BF
triadic
#9345CA #CA9345 #45CA93
tetradic
#9345CA #CA5045 #7CCA45 #45BFCA
square
#9345CA #CA5045 #7CCA45 #45BFCA
split-complementary
#9345CA #BFCA45 #45CA50
monochromatic
#512174 #732FA3 #9345CA #AF75D8 #CAA4E5

Accessibility & contrast

On white

5.32
#9345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345CA#FFFFFF#000000##FFFFFF
##9345CA1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#8B6182
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9345ca;
/* rgb */ color: rgb(147, 69, 202);
/* oklch */ color: oklch(55.2% 0.201 308.1);
Tailwind
colors: {
  custom: {
    50: '#b77edb',
    500: '#9345ca',
    950: '#000000',
  },
}
SCSS
$custom: #9345ca;
$custom-light: #b77edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9345ca",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 275.188,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.2011,
    "h": 308.1
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#9345CA
secondary
#B0D299
accent
#DF4987
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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