#742EA5#742EA5

#742EA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.183 H 307.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#742EA5
RGBrgb(116, 46, 165)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(29.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.77, 51.18, -51.30)
CIE-LCHlch(34.77, 72.47, 314.94°)
OKLaboklab(46.04% 0.1117 -0.1455)
OKLCHoklch(46.04% 0.183 307.5)
XYZxyz(14.9696, 8.3838, 36.4196)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA5 #5FA52E
analogous
#392EA5 #742EA5 #A52E9B
triadic
#742EA5 #A5742E #2EA574
tetradic
#742EA5 #A5392E #5FA52E #2E9BA5
square
#742EA5 #A5392E #5FA52E #2E9BA5
split-complementary
#742EA5 #9BA52E #2EA539
monochromatic
#311345 #522175 #742EA5 #9445CB #AF75D8

Accessibility & contrast

On white

7.85
#742EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#742EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA5#FFFFFF#000000##FFFFFF
##742EA51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0652A2
Tritanopia (blue-blind)
#6C4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ea5;
/* rgb */ color: rgb(116, 46, 165);
/* oklch */ color: oklch(46.0% 0.183 307.5);
Tailwind
colors: {
  custom: {
    50: '#a06dc0',
    500: '#742ea5',
    950: '#000000',
  },
}
SCSS
$custom: #742ea5;
$custom-light: #a06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea5",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 275.294,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.18346,
    "h": 307.5
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#742EA5
secondary
#90C06F
accent
#E04887
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA5

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

Preview Lab → · Contrast checker → · Palette generator →

#742EA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva