#9342DB#9342DB

#9342DB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.222 H 304.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9342DB
RGBrgb(147, 66, 219)
HSLhsl(272, 68%, 56%)
HSVhsv(272, 70%, 86%)
CMYKcmyk(32.9%, 69.9%, 0%, 14.1%)
CIE-LABlab(45.93, 60.80, -64.63)
CIE-LCHlch(45.93, 88.73, 313.25°)
OKLaboklab(56.08% 0.1252 -0.1838)
OKLCHoklch(56.08% 0.222 304.3)
XYZxyz(26.7641, 15.2140, 68.5307)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342DB #8ADB42
analogous
#4642DB #9342DB #DB42D6
triadic
#9342DB #DB9342 #42DB93
tetradic
#9342DB #DB4642 #8ADB42 #42D6DB
square
#9342DB #DB4642 #8ADB42 #42D6DB
split-complementary
#9342DB #D6DB42 #42DB46
monochromatic
#551A89 #7424BC #9342DB #B075E5 #CEA9EF

Accessibility & contrast

On white

5.19
#9342DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9342DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342DB#FFFFFF#000000##FFFFFF
##9342DB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#85668A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9342db;
/* rgb */ color: rgb(147, 66, 219);
/* oklch */ color: oklch(56.1% 0.222 304.3);
Tailwind
colors: {
  custom: {
    50: '#b87de7',
    500: '#9342db',
    950: '#000000',
  },
}
SCSS
$custom: #9342db;
$custom-light: #b87de7;
$custom-dark: #000000;
JSON
{
  "hex": "#9342db",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 271.765,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.22236,
    "h": 304.3
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#9342DB
secondary
#BBDC9D
accent
#EB3D8F
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9342DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9342DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva