#7342CE#7342CE

#7342CE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.204 H 294.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7342CE
RGBrgb(115, 66, 206)
HSLhsl(261, 59%, 53%)
HSVhsv(261, 68%, 81%)
CMYKcmyk(44.2%, 68%, 0%, 19.2%)
CIE-LABlab(41.21, 51.57, -64.99)
CIE-LCHlch(41.21, 82.97, 308.43°)
OKLaboklab(51.58% 0.0833 -0.1859)
OKLCHoklch(51.58% 0.204 294.1)
XYZxyz(20.1560, 11.9969, 59.6342)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342CE #9DCE42
analogous
#4257CE #7342CE #B942CE
triadic
#7342CE #CE7342 #42CE73
tetradic
#7342CE #CE4257 #9DCE42 #42CEB9
square
#7342CE #CE4257 #9DCE42 #42CEB9
split-complementary
#7342CE #CEB942 #57CE42
monochromatic
#3E1F77 #572BA7 #7342CE #9773DB #BBA3E7

Accessibility & contrast

On white

6.18
#7342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7342CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342CE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342CE#FFFFFF#000000##FFFFFF
##7342CE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#596483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7342ce;
/* rgb */ color: rgb(115, 66, 206);
/* oklch */ color: oklch(51.6% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#a27ade',
    500: '#7342ce',
    950: '#000000',
  },
}
SCSS
$custom: #7342ce;
$custom-light: #a27ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ce",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 261,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.20376,
    "h": 294.1
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#7342CE
secondary
#BFD498
accent
#E246AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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