#742EA3#742EA3

#742EA3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.181 H 308.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#742EA3
RGBrgb(116, 46, 163)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.8%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.62, 50.72, -50.33)
CIE-LCHlch(34.62, 71.46, 315.22°)
OKLaboklab(45.89% 0.112 -0.1427)
OKLCHoklch(45.89% 0.181 308.1)
XYZxyz(14.7889, 8.3116, 35.4684)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA3 #5DA32E
analogous
#392EA3 #742EA3 #A32E97
triadic
#742EA3 #A3742E #2EA374
tetradic
#742EA3 #A3392E #5DA32E #2E97A3
square
#742EA3 #A3392E #5DA32E #2E97A3
split-complementary
#742EA3 #97A32E #2EA339
monochromatic
#301344 #522173 #742EA3 #9444CA #B074D8

Accessibility & contrast

On white

7.89
#742EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742EA3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA3#FFFFFF#000000##FFFFFF
##742EA31.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0D52A1
Tritanopia (blue-blind)
#6D4965
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742ea3;
/* rgb */ color: rgb(116, 46, 163);
/* oklch */ color: oklch(45.9% 0.181 308.1);
Tailwind
colors: {
  custom: {
    50: '#a06dbf',
    500: '#742ea3',
    950: '#000000',
  },
}
SCSS
$custom: #742ea3;
$custom-light: #a06dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea3",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 275.897,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.1814,
    "h": 308.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#742EA3
secondary
#8EBF6D
accent
#DF4985
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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