#9340DA#9340DA

#9340DA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.224 H 304.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9340DA
RGBrgb(147, 64, 218)
HSLhsl(272, 68%, 55%)
HSVhsv(272, 71%, 85%)
CMYKcmyk(32.6%, 70.6%, 0%, 14.5%)
CIE-LABlab(45.54, 61.45, -64.68)
CIE-LCHlch(45.54, 89.22, 313.53°)
OKLaboklab(55.79% 0.1273 -0.1839)
OKLCHoklch(55.79% 0.224 304.7)
XYZxyz(26.5180, 14.9319, 67.8012)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340DA #87DA40
analogous
#4640DA #9340DA #DA40D4
triadic
#9340DA #DA9340 #40DA93
tetradic
#9340DA #DA4640 #87DA40 #40D4DA
square
#9340DA #DA4640 #87DA40 #40D4DA
split-complementary
#9340DA #D4DA40 #40DA46
monochromatic
#541A86 #7424B9 #9340DA #B073E4 #CDA7EE

Accessibility & contrast

On white

5.27
#9340DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9340DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340DA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340DA#FFFFFF#000000##FFFFFF
##9340DA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#866489
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9340da;
/* rgb */ color: rgb(147, 64, 218);
/* oklch */ color: oklch(55.8% 0.224 304.7);
Tailwind
colors: {
  custom: {
    50: '#b87ce6',
    500: '#9340da',
    950: '#000000',
  },
}
SCSS
$custom: #9340da;
$custom-light: #b87ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9340da",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 272.338,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.22369,
    "h": 304.7
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#9340DA
secondary
#B8DB9B
accent
#EA3D8D
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9340DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9340DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva