#9341DC#9341DC

#9341DC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.225 H 304.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9341DC
RGBrgb(147, 65, 220)
HSLhsl(272, 69%, 56%)
HSVhsv(272, 70%, 86%)
CMYKcmyk(33.2%, 70.5%, 0%, 13.7%)
CIE-LABlab(45.84, 61.47, -65.34)
CIE-LCHlch(45.84, 89.71, 313.25°)
OKLaboklab(56.04% 0.126 -0.1859)
OKLCHoklch(56.04% 0.225 304.1)
XYZxyz(26.8382, 15.1510, 69.2068)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9341DC #8ADC41
analogous
#4541DC #9341DC #DC41D7
triadic
#9341DC #DC9341 #41DC93
tetradic
#9341DC #DC4541 #8ADC41 #41D7DC
square
#9341DC #DC4541 #8ADC41 #41D7DC
split-complementary
#9341DC #D7DC41 #41DC45
monochromatic
#551989 #7423BD #9341DC #B075E6 #CEA8EF

Accessibility & contrast

On white

5.21
#9341DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9341DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9341DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9341DC#FFFFFF#000000##FFFFFF
##9341DC1.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)
#006BE1
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#85668A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9341dc;
/* rgb */ color: rgb(147, 65, 220);
/* oklch */ color: oklch(56.0% 0.225 304.1);
Tailwind
colors: {
  custom: {
    50: '#b87ce8',
    500: '#9341dc',
    950: '#000000',
  },
}
SCSS
$custom: #9341dc;
$custom-light: #b87ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9341dc",
  "rgb": {
    "r": 147,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 271.742,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.22454,
    "h": 304.1
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#9341DC
secondary
#BBDD9C
accent
#EC3C8F
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9341DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9341DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva