#7342EA#7342EA

#7342EA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.235 H 289.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7342EA
RGBrgb(115, 66, 234)
HSLhsl(258, 80%, 59%)
HSVhsv(258, 72%, 92%)
CMYKcmyk(50.9%, 71.8%, 0%, 8.2%)
CIE-LABlab(43.48, 59.06, -77.30)
CIE-LCHlch(43.48, 97.28, 307.38°)
OKLaboklab(53.9% 0.0781 -0.222)
OKLCHoklch(53.9% 0.235 289.4)
XYZxyz(23.8654, 13.4807, 79.1705)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342EA #B9EA42
analogous
#4265EA #7342EA #C742EA
triadic
#7342EA #EA7342 #42EA73
tetradic
#7342EA #EA4265 #B9EA42 #42EAC7
square
#7342EA #EA4265 #B9EA42 #42EAC7
split-complementary
#7342EA #EAC742 #65EA42
monochromatic
#3B12A0 #5018D7 #7342EA #9C79F0 #C5B0F6

Accessibility & contrast

On white

5.68
#7342EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7342EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342EA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342EA#FFFFFF#000000##FFFFFF
##7342EA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#486F92
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7342ea;
/* rgb */ color: rgb(115, 66, 234);
/* oklch */ color: oklch(53.9% 0.235 289.4);
Tailwind
colors: {
  custom: {
    50: '#a67bf2',
    500: '#7342ea',
    950: '#000000',
  },
}
SCSS
$custom: #7342ea;
$custom-light: #a67bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ea",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 257.5,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.23538,
    "h": 289.4
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#7342EA
secondary
#D2E5A3
accent
#F631BD
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7342EA

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

Preview Lab → · Contrast checker → · Palette generator →

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