#7342CD#7342CD

#7342CD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.203 H 294.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7342CD
RGBrgb(115, 66, 205)
HSLhsl(261, 58%, 53%)
HSVhsv(261, 68%, 80%)
CMYKcmyk(43.9%, 67.8%, 0%, 19.6%)
CIE-LABlab(41.13, 51.30, -64.54)
CIE-LCHlch(41.13, 82.45, 308.48°)
OKLaboklab(51.5% 0.0835 -0.1846)
OKLCHoklch(51.5% 0.203 294.3)
XYZxyz(20.0349, 11.9485, 58.9965)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342CD #9CCD42
analogous
#4256CD #7342CD #B842CD
triadic
#7342CD #CD7342 #42CD73
tetradic
#7342CD #CD4256 #9CCD42 #42CDB8
square
#7342CD #CD4256 #9CCD42 #42CDB8
split-complementary
#7342CD #CDB842 #56CD42
monochromatic
#3E1F76 #572CA6 #7342CD #9772DA #BBA3E7

Accessibility & contrast

On white

6.20
#7342CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7342CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342CD#FFFFFF#000000##FFFFFF
##7342CD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#5A6482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7342cd;
/* rgb */ color: rgb(115, 66, 205);
/* oklch */ color: oklch(51.5% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#a27add',
    500: '#7342cd',
    950: '#000000',
  },
}
SCSS
$custom: #7342cd;
$custom-light: #a27add;
$custom-dark: #000000;
JSON
{
  "hex": "#7342cd",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 261.151,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.20261,
    "h": 294.3
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#7342CD
secondary
#BED397
accent
#E146AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7342CD

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

Preview Lab → · Contrast checker → · Palette generator →

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