#742DA3#742DA3

#742DA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.183 H 308.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#742DA3
RGBrgb(116, 45, 163)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(28.8%, 72.4%, 0%, 36.1%)
CIE-LABlab(34.47, 51.17, -50.58)
CIE-LCHlch(34.47, 71.95, 315.33°)
OKLaboklab(45.78% 0.113 -0.1434)
OKLCHoklch(45.78% 0.183 308.2)
XYZxyz(14.7503, 8.2344, 35.4556)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DA3 #5CA32D
analogous
#392DA3 #742DA3 #A32D97
triadic
#742DA3 #A3742D #2DA374
tetradic
#742DA3 #A3392D #5CA32D #2D97A3
square
#742DA3 #A3392D #5CA32D #2D97A3
split-complementary
#742DA3 #97A32D #2DA339
monochromatic
#301343 #522073 #742DA3 #9442CB #B072D8

Accessibility & contrast

On white

7.93
#742DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#742DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DA3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DA3#FFFFFF#000000##FFFFFF
##742DA31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0B52A0
Tritanopia (blue-blind)
#6D4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742da3;
/* rgb */ color: rgb(116, 45, 163);
/* oklch */ color: oklch(45.8% 0.183 308.2);
Tailwind
colors: {
  custom: {
    50: '#a06cbf',
    500: '#742da3',
    950: '#000000',
  },
}
SCSS
$custom: #742da3;
$custom-light: #a06cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#742da3",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 276.102,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.18263,
    "h": 308.2
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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