#742EA8#742EA8

#742EA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.187 H 306.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#742EA8
RGBrgb(116, 46, 168)
HSLhsl(274, 57%, 42%)
HSVhsv(274, 73%, 66%)
CMYKcmyk(31%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.99, 51.88, -52.74)
CIE-LCHlch(34.99, 73.98, 314.53°)
OKLaboklab(46.27% 0.1112 -0.1498)
OKLCHoklch(46.27% 0.187 306.6)
XYZxyz(15.2458, 8.4943, 37.8746)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA8 #62A82E
analogous
#372EA8 #742EA8 #A82E9F
triadic
#742EA8 #A8742E #2EA874
tetradic
#742EA8 #A8372E #62A82E #2E9FA8
square
#742EA8 #A8372E #62A82E #2E9FA8
split-complementary
#742EA8 #9FA82E #2EA837
monochromatic
#321448 #532178 #742EA8 #9347CD #B077DA

Accessibility & contrast

On white

7.78
#742EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#742EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA8
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA8#FFFFFF#000000##FFFFFF
##742EA81.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6B4B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ea8;
/* rgb */ color: rgb(116, 46, 168);
/* oklch */ color: oklch(46.3% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#a16dc3',
    500: '#742ea8',
    950: '#000000',
  },
}
SCSS
$custom: #742ea8;
$custom-light: #a16dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea8",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 274.426,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.18655,
    "h": 306.6
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#742EA8
secondary
#93C270
accent
#E04889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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