#7342ED#7342ED

#7342ED is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.239 H 288.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7342ED
RGBrgb(115, 66, 237)
HSLhsl(257, 83%, 59%)
HSVhsv(257, 72%, 93%)
CMYKcmyk(51.5%, 72.2%, 0%, 7.1%)
CIE-LABlab(43.73, 59.87, -78.57)
CIE-LCHlch(43.73, 98.78, 307.31°)
OKLaboklab(54.15% 0.0774 -0.2258)
OKLCHoklch(54.15% 0.239 288.9)
XYZxyz(24.3001, 13.6546, 81.4595)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342ED #BCED42
analogous
#4267ED #7342ED #C942ED
triadic
#7342ED #ED7342 #42ED73
tetradic
#7342ED #ED4267 #BCED42 #42EDC9
square
#7342ED #ED4267 #BCED42 #42EDC9
split-complementary
#7342ED #EDC942 #67ED42
monochromatic
#3A10A5 #4E15DD #7342ED #9C7AF2 #C6B2F8

Accessibility & contrast

On white

5.63
#7342ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7342ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342ED
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342ED#FFFFFF#000000##FFFFFF
##7342ED1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#457094
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7342ed;
/* rgb */ color: rgb(115, 66, 237);
/* oklch */ color: oklch(54.2% 0.239 288.9);
Tailwind
colors: {
  custom: {
    50: '#a67bf4',
    500: '#7342ed',
    950: '#000000',
  },
}
SCSS
$custom: #7342ed;
$custom-light: #a67bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ed",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 237
  },
  "hsl": {
    "h": 257.193,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.23871,
    "h": 288.9
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#7342ED
secondary
#D4E7A4
accent
#F92FBF
background
#FBF7FF
surface
#F6EEFE
border
#D0C9D6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7342ED

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

Preview Lab → · Contrast checker → · Palette generator →

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