#742DA2#742DA2

#742DA2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 308.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#742DA2
RGBrgb(116, 45, 162)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.4%, 72.2%, 0%, 36.5%)
CIE-LABlab(34.39, 50.94, -50.10)
CIE-LCHlch(34.39, 71.45, 315.48°)
OKLaboklab(45.7% 0.1132 -0.142)
OKLCHoklch(45.7% 0.182 308.6)
XYZxyz(14.6611, 8.1987, 34.9856)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DA2 #5BA22D
analogous
#392DA2 #742DA2 #A22D95
triadic
#742DA2 #A2742D #2DA274
tetradic
#742DA2 #A2392D #5BA22D #2D95A2
square
#742DA2 #A2392D #5BA22D #2D95A2
split-complementary
#742DA2 #95A22D #2DA239
monochromatic
#2F1242 #522072 #742DA2 #9542CA #B072D8

Accessibility & contrast

On white

7.96
#742DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#742DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DA2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DA2#FFFFFF#000000##FFFFFF
##742DA21.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#6D4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742da2;
/* rgb */ color: rgb(116, 45, 162);
/* oklch */ color: oklch(45.7% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#742da2',
    950: '#000000',
  },
}
SCSS
$custom: #742da2;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742da2",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 276.41,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.18161,
    "h": 308.6
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#742DA2
secondary
#8CBF6C
accent
#E04884
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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