#742EA2#742EA2

#742EA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.180 H 308.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#742EA2
RGBrgb(116, 46, 162)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.4%, 71.6%, 0%, 36.5%)
CIE-LABlab(34.55, 50.49, -49.84)
CIE-LCHlch(34.55, 70.95, 315.37°)
OKLaboklab(45.82% 0.1122 -0.1413)
OKLCHoklch(45.82% 0.18 308.4)
XYZxyz(14.6997, 8.2759, 34.9984)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA2 #5CA22E
analogous
#3A2EA2 #742EA2 #A22E96
triadic
#742EA2 #A2742E #2EA274
tetradic
#742EA2 #A23A2E #5CA22E #2E96A2
square
#742EA2 #A23A2E #5CA22E #2E96A2
split-complementary
#742EA2 #96A22E #2EA23A
monochromatic
#301343 #522072 #742EA2 #9443CA #B073D7

Accessibility & contrast

On white

7.91
#742EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#742EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA2#FFFFFF#000000##FFFFFF
##742EA21.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#6D4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742ea2;
/* rgb */ color: rgb(116, 46, 162);
/* oklch */ color: oklch(45.8% 0.180 308.4);
Tailwind
colors: {
  custom: {
    50: '#a06dbe',
    500: '#742ea2',
    950: '#000000',
  },
}
SCSS
$custom: #742ea2;
$custom-light: #a06dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea2",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 276.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.18037,
    "h": 308.4
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#742EA2
secondary
#8DBF6D
accent
#DF4984
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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