#9345CC#9345CC

#9345CC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.203 H 307.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9345CC
RGBrgb(147, 69, 204)
HSLhsl(275, 57%, 54%)
HSVhsv(275, 66%, 80%)
CMYKcmyk(27.9%, 66.2%, 0%, 20%)
CIE-LABlab(45.39, 56.01, -56.90)
CIE-LCHlch(45.39, 79.84, 314.55°)
OKLaboklab(55.37% 0.1239 -0.1611)
OKLCHoklch(55.37% 0.203 307.6)
XYZxyz(25.0576, 14.8193, 58.6554)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345CC #7ECC45
analogous
#4F45CC #9345CC #CC45C1
triadic
#9345CC #CC9345 #45CC93
tetradic
#9345CC #CC4F45 #7ECC45 #45C1CC
square
#9345CC #CC4F45 #7ECC45 #45C1CC
split-complementary
#9345CC #C1CC45 #45CC4F
monochromatic
#522076 #732EA6 #9345CC #AF75D9 #CBA5E6

Accessibility & contrast

On white

5.30
#9345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9345CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345CC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345CC#FFFFFF#000000##FFFFFF
##9345CC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#8A6283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9345cc;
/* rgb */ color: rgb(147, 69, 204);
/* oklch */ color: oklch(55.4% 0.203 307.6);
Tailwind
colors: {
  custom: {
    50: '#b77edc',
    500: '#9345cc',
    950: '#000000',
  },
}
SCSS
$custom: #9345cc;
$custom-light: #b77edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9345cc",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 274.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55368,
    "c": 0.20318,
    "h": 307.6
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#9345CC
secondary
#B2D399
accent
#E04888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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