#9340CE#9340CE

#9340CE is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.212 H 307.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9340CE
RGBrgb(147, 64, 206)
HSLhsl(275, 59%, 53%)
HSVhsv(275, 69%, 81%)
CMYKcmyk(28.6%, 68.9%, 0%, 19.2%)
CIE-LABlab(44.70, 58.75, -59.16)
CIE-LCHlch(44.70, 83.38, 314.80°)
OKLaboklab(54.92% 0.129 -0.1677)
OKLCHoklch(54.92% 0.212 307.6)
XYZxyz(25.0043, 14.3264, 59.8286)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340CE #7BCE40
analogous
#4C40CE #9340CE #CE40C2
triadic
#9340CE #CE9340 #40CE93
tetradic
#9340CE #CE4C40 #7BCE40 #40C2CE
square
#9340CE #CE4C40 #7BCE40 #40C2CE
split-complementary
#9340CE #C2CE40 #40CE4C
monochromatic
#511E75 #732BA6 #9340CE #AF71DA #CAA1E7

Accessibility & contrast

On white

5.43
#9340CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9340CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340CE#FFFFFF#000000##FFFFFF
##9340CE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#1A6ACB
Tritanopia (blue-blind)
#896082
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9340ce;
/* rgb */ color: rgb(147, 64, 206);
/* oklch */ color: oklch(54.9% 0.212 307.6);
Tailwind
colors: {
  custom: {
    50: '#b77bde',
    500: '#9340ce',
    950: '#000000',
  },
}
SCSS
$custom: #9340ce;
$custom-light: #b77bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9340ce",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 275.07,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.21159,
    "h": 307.6
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#9340CE
secondary
#B0D496
accent
#E24587
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9340CE

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

Preview Lab → · Contrast checker → · Palette generator →

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