#9348CA#9348CA

#9348CA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.197 H 307.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9348CA
RGBrgb(147, 72, 202)
HSLhsl(275, 55%, 54%)
HSVhsv(275, 64%, 79%)
CMYKcmyk(27.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(45.77, 54.13, -55.12)
CIE-LCHlch(45.77, 77.25, 314.48°)
OKLaboklab(55.61% 0.1206 -0.1559)
OKLCHoklch(55.61% 0.197 307.7)
XYZxyz(25.0085, 15.1024, 57.4633)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9348CA #7FCA48
analogous
#5248CA #9348CA #CA48C0
triadic
#9348CA #CA9348 #48CA93
tetradic
#9348CA #CA5248 #7FCA48 #48C0CA
square
#9348CA #CA5248 #7FCA48 #48C0CA
split-complementary
#9348CA #C0CA48 #48CA52
monochromatic
#522276 #7330A5 #9348CA #AF77D8 #CBA7E5

Accessibility & contrast

On white

5.22
#9348CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9348CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9348CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9348CA#FFFFFF#000000##FFFFFF
##9348CA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#8A6383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9348ca;
/* rgb */ color: rgb(147, 72, 202);
/* oklch */ color: oklch(55.6% 0.197 307.7);
Tailwind
colors: {
  custom: {
    50: '#b780db',
    500: '#9348ca',
    950: '#000000',
  },
}
SCSS
$custom: #9348ca;
$custom-light: #b780db;
$custom-dark: #000000;
JSON
{
  "hex": "#9348ca",
  "rgb": {
    "r": 147,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 274.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.19708,
    "h": 307.7
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#9348CA
secondary
#B3D39B
accent
#DE4988
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9348CA

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

Preview Lab → · Contrast checker → · Palette generator →

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