#7340D0#7340D0

#7340D0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.208 H 294.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7340D0
RGBrgb(115, 64, 208)
HSLhsl(261, 61%, 53%)
HSVhsv(261, 69%, 82%)
CMYKcmyk(44.7%, 69.2%, 0%, 18.4%)
CIE-LABlab(41.00, 53.11, -66.49)
CIE-LCHlch(41.00, 85.10, 308.62°)
OKLaboklab(51.48% 0.085 -0.1903)
OKLCHoklch(51.48% 0.208 294.1)
XYZxyz(20.2857, 11.8651, 60.8837)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7340D0 #9DD040
analogous
#4055D0 #7340D0 #BB40D0
triadic
#7340D0 #D07340 #40D073
tetradic
#7340D0 #D04055 #9DD040 #40D0BB
square
#7340D0 #D04055 #9DD040 #40D0BB
split-complementary
#7340D0 #D0BB40 #55D040
monochromatic
#3E1E78 #572AA9 #7340D0 #9771DC #BBA2E8

Accessibility & contrast

On white

6.23
#7340D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7340D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7340D0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7340D0#FFFFFF#000000##FFFFFF
##7340D01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#586483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7340d0;
/* rgb */ color: rgb(115, 64, 208);
/* oklch */ color: oklch(51.5% 0.208 294.1);
Tailwind
colors: {
  custom: {
    50: '#a379df',
    500: '#7340d0',
    950: '#000000',
  },
}
SCSS
$custom: #7340d0;
$custom-light: #a379df;
$custom-dark: #000000;
JSON
{
  "hex": "#7340d0",
  "rgb": {
    "r": 115,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 261.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.20843,
    "h": 294.1
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#7340D0
secondary
#BFD597
accent
#E444AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7340D0

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

Preview Lab → · Contrast checker → · Palette generator →

#7340D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva