#9345CB#9345CB

#9345CB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.202 H 307.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9345CB
RGBrgb(147, 69, 203)
HSLhsl(275, 56%, 53%)
HSVhsv(275, 66%, 80%)
CMYKcmyk(27.6%, 66%, 0%, 20.4%)
CIE-LABlab(45.32, 55.79, -56.43)
CIE-LCHlch(45.32, 79.35, 314.67°)
OKLaboklab(55.3% 0.1239 -0.1597)
OKLCHoklch(55.3% 0.202 307.8)
XYZxyz(24.9380, 14.7714, 58.0258)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9345CB #7DCB45
analogous
#5045CB #9345CB #CB45C0
triadic
#9345CB #CB9345 #45CB93
tetradic
#9345CB #CB5045 #7DCB45 #45C0CB
square
#9345CB #CB5045 #7DCB45 #45C0CB
split-complementary
#9345CB #C0CB45 #45CB50
monochromatic
#522175 #732EA5 #9345CB #AF75D8 #CBA5E6

Accessibility & contrast

On white

5.31
#9345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9345CB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9345CB#FFFFFF#000000##FFFFFF
##9345CB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#8A6182
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9345cb;
/* rgb */ color: rgb(147, 69, 203);
/* oklch */ color: oklch(55.3% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#b77edc',
    500: '#9345cb',
    950: '#000000',
  },
}
SCSS
$custom: #9345cb;
$custom-light: #b77edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9345cb",
  "rgb": {
    "r": 147,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 274.925,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.553,
    "c": 0.20214,
    "h": 307.8
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#9345CB
secondary
#B1D399
accent
#E04887
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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