#9348CB#9348CB

#9348CB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.7% C 0.198 H 307.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9348CB
RGBrgb(147, 72, 203)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 65%, 80%)
CMYKcmyk(27.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(45.84, 54.35, -55.59)
CIE-LCHlch(45.84, 77.75, 314.36°)
OKLaboklab(55.67% 0.1206 -0.1572)
OKLCHoklch(55.67% 0.198 307.5)
XYZxyz(25.1272, 15.1499, 58.0888)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9348CB #80CB48
analogous
#5248CB #9348CB #CB48C2
triadic
#9348CB #CB9348 #48CB93
tetradic
#9348CB #CB5248 #80CB48 #48C2CB
square
#9348CB #CB5248 #80CB48 #48C2CB
split-complementary
#9348CB #C2CB48 #48CB52
monochromatic
#522277 #742FA6 #9348CB #AF78D9 #CBA7E6

Accessibility & contrast

On white

5.21
#9348CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9348CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9348CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9348CB#FFFFFF#000000##FFFFFF
##9348CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#8A6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9348cb;
/* rgb */ color: rgb(147, 72, 203);
/* oklch */ color: oklch(55.7% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#b780dc',
    500: '#9348cb',
    950: '#000000',
  },
}
SCSS
$custom: #9348cb;
$custom-light: #b780dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9348cb",
  "rgb": {
    "r": 147,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 274.351,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.19814,
    "h": 307.5
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9348CB

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

Preview Lab → · Contrast checker → · Palette generator →

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