#742E97#742E97

#742E97 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.169 H 312.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#742E97
RGBrgb(116, 46, 151)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 70%, 59%)
CMYKcmyk(23.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.78, 48.01, -44.42)
CIE-LCHlch(33.78, 65.41, 317.22°)
OKLaboklab(45.02% 0.1135 -0.1253)
OKLCHoklch(45.02% 0.169 312.1)
XYZxyz(13.7644, 7.9017, 30.0723)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E97 #51972E
analogous
#3F2E97 #742E97 #972E85
triadic
#742E97 #97742E #2E9774
tetradic
#742E97 #973F2E #51972E #2E8597
square
#742E97 #973F2E #51972E #2E8597
split-complementary
#742E97 #85972E #2E973F
monochromatic
#2C1139 #502068 #742E97 #973EC4 #B16DD2

Accessibility & contrast

On white

8.14
#742E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#742E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E97
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E97#FFFFFF#000000##FFFFFF
##742E971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#70445F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #742e97;
/* rgb */ color: rgb(116, 46, 151);
/* oklch */ color: oklch(45.0% 0.169 312.1);
Tailwind
colors: {
  custom: {
    50: '#a06cb6',
    500: '#742e97',
    950: '#000000',
  },
}
SCSS
$custom: #742e97;
$custom-light: #a06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#742e97",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.16907,
    "h": 312.1
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#742E97
secondary
#83BA67
accent
#DD4B7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E97

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

Preview Lab → · Contrast checker → · Palette generator →

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