#9340CF#9340CF

#9340CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.213 H 307.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9340CF
RGBrgb(147, 64, 207)
HSLhsl(275, 60%, 53%)
HSVhsv(275, 69%, 81%)
CMYKcmyk(29%, 69.1%, 0%, 18.8%)
CIE-LABlab(44.77, 58.97, -59.63)
CIE-LCHlch(44.77, 83.86, 314.68°)
OKLaboklab(54.99% 0.1289 -0.1691)
OKLCHoklch(54.99% 0.213 307.3)
XYZxyz(25.1261, 14.3752, 60.4704)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340CF #7CCF40
analogous
#4B40CF #9340CF #CF40C4
triadic
#9340CF #CF9340 #40CF93
tetradic
#9340CF #CF4B40 #7CCF40 #40C4CF
square
#9340CF #CF4B40 #7CCF40 #40C4CF
split-complementary
#9340CF #C4CF40 #40CF4B
monochromatic
#511E77 #732AA8 #9340CF #AF71DB #CAA2E8

Accessibility & contrast

On white

5.42
#9340CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9340CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340CF#FFFFFF#000000##FFFFFF
##9340CF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#186BCC
Tritanopia (blue-blind)
#896083
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9340cf;
/* rgb */ color: rgb(147, 64, 207);
/* oklch */ color: oklch(55.0% 0.213 307.3);
Tailwind
colors: {
  custom: {
    50: '#b77bde',
    500: '#9340cf',
    950: '#000000',
  },
}
SCSS
$custom: #9340cf;
$custom-light: #b77bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9340cf",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 274.825,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.2126,
    "h": 307.3
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#9340CF
secondary
#B0D497
accent
#E34587
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9340CF

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

Preview Lab → · Contrast checker → · Palette generator →

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