#742EA7#742EA7

#742EA7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.186 H 306.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#742EA7
RGBrgb(116, 46, 167)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.5%, 72.5%, 0%, 34.5%)
CIE-LABlab(34.92, 51.65, -52.26)
CIE-LCHlch(34.92, 73.47, 314.66°)
OKLaboklab(46.19% 0.1114 -0.1484)
OKLCHoklch(46.19% 0.186 306.9)
XYZxyz(15.1530, 8.4572, 37.3859)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA7 #61A72E
analogous
#382EA7 #742EA7 #A72E9E
triadic
#742EA7 #A7742E #2EA774
tetradic
#742EA7 #A7382E #61A72E #2E9EA7
square
#742EA7 #A7382E #61A72E #2E9EA7
split-complementary
#742EA7 #9EA72E #2EA738
monochromatic
#311447 #532177 #742EA7 #9446CC #AF76D9

Accessibility & contrast

On white

7.80
#742EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#742EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA7#FFFFFF#000000##FFFFFF
##742EA71.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#6B4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ea7;
/* rgb */ color: rgb(116, 46, 167);
/* oklch */ color: oklch(46.2% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#a16dc2',
    500: '#742ea7',
    950: '#000000',
  },
}
SCSS
$custom: #742ea7;
$custom-light: #a16dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea7",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 274.711,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.18552,
    "h": 306.9
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#742EA7
secondary
#92C170
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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