#742FA6#742FA6

#742FA6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.183 H 307.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#742FA6
RGBrgb(116, 47, 166)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.1%, 71.7%, 0%, 34.9%)
CIE-LABlab(35.00, 50.97, -51.52)
CIE-LCHlch(35.00, 72.47, 314.69°)
OKLaboklab(46.23% 0.1105 -0.1462)
OKLCHoklch(46.23% 0.183 307.1)
XYZxyz(15.1004, 8.4994, 36.9140)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FA6 #61A62F
analogous
#392FA6 #742FA6 #A62F9D
triadic
#742FA6 #A6742F #2FA674
tetradic
#742FA6 #A6392F #61A62F #2F9DA6
square
#742FA6 #A6392F #61A62F #2F9DA6
split-complementary
#742FA6 #9DA62F #2FA639
monochromatic
#311447 #532176 #742FA6 #9447CB #AF77D8

Accessibility & contrast

On white

7.78
#742FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#742FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FA6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FA6#FFFFFF#000000##FFFFFF
##742FA61.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0653A3
Tritanopia (blue-blind)
#6C4A67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742fa6;
/* rgb */ color: rgb(116, 47, 166);
/* oklch */ color: oklch(46.2% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#a06ec1',
    500: '#742fa6',
    950: '#000000',
  },
}
SCSS
$custom: #742fa6;
$custom-light: #a06ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#742fa6",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 274.79,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.18327,
    "h": 307.1
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#742FA6
secondary
#92C170
accent
#DF4988
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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