#742FA3#742FA3

#742FA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.180 H 308.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#742FA3
RGBrgb(116, 47, 163)
HSLhsl(276, 55%, 41%)
HSVhsv(276, 71%, 64%)
CMYKcmyk(28.8%, 71.2%, 0%, 36.1%)
CIE-LABlab(34.78, 50.27, -50.07)
CIE-LCHlch(34.78, 70.95, 315.12°)
OKLaboklab(46% 0.111 -0.1419)
OKLCHoklch(46% 0.18 308)
XYZxyz(14.8285, 8.3906, 35.4816)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FA3 #5EA32F
analogous
#3A2FA3 #742FA3 #A32F98
triadic
#742FA3 #A3742F #2FA374
tetradic
#742FA3 #A33A2F #5EA32F #2F98A3
square
#742FA3 #A33A2F #5EA32F #2F98A3
split-complementary
#742FA3 #98A32F #2FA33A
monochromatic
#301444 #522173 #742FA3 #9446CA #B075D7

Accessibility & contrast

On white

7.84
#742FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#742FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FA3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FA3#FFFFFF#000000##FFFFFF
##742FA31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1052A1
Tritanopia (blue-blind)
#6D4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742fa3;
/* rgb */ color: rgb(116, 47, 163);
/* oklch */ color: oklch(46.0% 0.180 308.0);
Tailwind
colors: {
  custom: {
    50: '#a06dbf',
    500: '#742fa3',
    950: '#000000',
  },
}
SCSS
$custom: #742fa3;
$custom-light: #a06dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#742fa3",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 275.69,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.18017,
    "h": 308
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#742FA3
secondary
#8FBF6F
accent
#DF4986
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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