#742FA7#742FA7

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

Color values

HEX#742FA7
RGBrgb(116, 47, 167)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.5%, 71.9%, 0%, 34.5%)
CIE-LABlab(35.08, 51.20, -52.00)
CIE-LCHlch(35.08, 72.98, 314.55°)
OKLaboklab(46.31% 0.1104 -0.1476)
OKLCHoklch(46.31% 0.184 306.8)
XYZxyz(15.1925, 8.5362, 37.3990)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FA7 #62A72F
analogous
#382FA7 #742FA7 #A72F9E
triadic
#742FA7 #A7742F #2FA774
tetradic
#742FA7 #A7382F #62A72F #2F9EA7
square
#742FA7 #A7382F #62A72F #2F9EA7
split-complementary
#742FA7 #9EA72F #2FA738
monochromatic
#321447 #532277 #742FA7 #9348CB #B078D9

Accessibility & contrast

On white

7.76
#742FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#742FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FA7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FA7#FFFFFF#000000##FFFFFF
##742FA71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#6B4B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742fa7;
/* rgb */ color: rgb(116, 47, 167);
/* oklch */ color: oklch(46.3% 0.184 306.8);
Tailwind
colors: {
  custom: {
    50: '#a16ec2',
    500: '#742fa7',
    950: '#000000',
  },
}
SCSS
$custom: #742fa7;
$custom-light: #a16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#742fa7",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 274.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.18431,
    "h": 306.8
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#742FA7
secondary
#93C171
accent
#DF4889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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