#7342AF#7342AF

#7342AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.167 H 301.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7342AF
RGBrgb(115, 66, 175)
HSLhsl(267, 45%, 47%)
HSVhsv(267, 62%, 69%)
CMYKcmyk(34.3%, 62.3%, 0%, 31.4%)
CIE-LABlab(38.96, 43.45, -50.50)
CIE-LCHlch(38.96, 66.62, 310.71°)
OKLaboklab(49.25% 0.0866 -0.1433)
OKLCHoklch(49.25% 0.167 301.2)
XYZxyz(16.7545, 10.6363, 41.7195)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342AF #7EAF42
analogous
#4248AF #7342AF #A942AF
triadic
#7342AF #AF7342 #42AF73
tetradic
#7342AF #AF4248 #7EAF42 #42AFA9
square
#7342AF #AF4248 #7EAF42 #42AFA9
split-complementary
#7342AF #AFA942 #48AF42
monochromatic
#392056 #563183 #7342AF #9268C6 #B295D7

Accessibility & contrast

On white

6.72
#7342AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7342AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342AF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342AF#FFFFFF#000000##FFFFFF
##7342AF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#675972
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7342af;
/* rgb */ color: rgb(115, 66, 175);
/* oklch */ color: oklch(49.2% 0.167 301.2);
Tailwind
colors: {
  custom: {
    50: '#9f79c7',
    500: '#7342af',
    950: '#000000',
  },
}
SCSS
$custom: #7342af;
$custom-light: #9f79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7342af",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 266.972,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.16748,
    "h": 301.2
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#7342AF
secondary
#A9C28A
accent
#D5539A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7342AF

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

Preview Lab → · Contrast checker → · Palette generator →

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