#7342D0#7342D0

#7342D0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.206 H 293.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7342D0
RGBrgb(115, 66, 208)
HSLhsl(261, 60%, 54%)
HSVhsv(261, 68%, 82%)
CMYKcmyk(44.7%, 68.3%, 0%, 18.4%)
CIE-LABlab(41.37, 52.10, -65.90)
CIE-LCHlch(41.37, 84.00, 308.33°)
OKLaboklab(51.74% 0.083 -0.1886)
OKLCHoklch(51.74% 0.206 293.8)
XYZxyz(20.4005, 12.0947, 60.9219)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342D0 #9FD042
analogous
#4258D0 #7342D0 #BA42D0
triadic
#7342D0 #D07342 #42D073
tetradic
#7342D0 #D04258 #9FD042 #42D0BA
square
#7342D0 #D04258 #9FD042 #42D0BA
split-complementary
#7342D0 #D0BA42 #58D042
monochromatic
#3E1E79 #572AAA #7342D0 #9773DC #BCA4E8

Accessibility & contrast

On white

6.14
#7342D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7342D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342D0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342D0#FFFFFF#000000##FFFFFF
##7342D01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#586584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7342d0;
/* rgb */ color: rgb(115, 66, 208);
/* oklch */ color: oklch(51.7% 0.206 293.8);
Tailwind
colors: {
  custom: {
    50: '#a37adf',
    500: '#7342d0',
    950: '#000000',
  },
}
SCSS
$custom: #7342d0;
$custom-light: #a37adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7342d0",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 260.704,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.20605,
    "h": 293.8
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#7342D0
secondary
#C0D599
accent
#E344AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7342D0

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

Preview Lab → · Contrast checker → · Palette generator →

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