#742FB5#742FB5

#742FB5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.199 H 302.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#742FB5
RGBrgb(116, 47, 181)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 71%)
CMYKcmyk(35.9%, 74%, 0%, 29%)
CIE-LABlab(36.14, 54.50, -58.62)
CIE-LCHlch(36.14, 80.04, 312.91°)
OKLaboklab(47.4% 0.1078 -0.1671)
OKLCHoklch(47.4% 0.199 302.8)
XYZxyz(16.5575, 9.0822, 44.5878)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FB5 #70B52F
analogous
#312FB5 #742FB5 #B52FB3
triadic
#742FB5 #B5742F #2FB574
tetradic
#742FB5 #B5312F #70B52F #2FB3B5
square
#742FB5 #B5312F #70B52F #2FB3B5
split-complementary
#742FB5 #B3B52F #2FB531
monochromatic
#361654 #552284 #742FB5 #9350D1 #B180DE

Accessibility & contrast

On white

7.46
#742FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#742FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FB5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FB5#FFFFFF#000000##FFFFFF
##742FB51.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#675070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742fb5;
/* rgb */ color: rgb(116, 47, 181);
/* oklch */ color: oklch(47.4% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#a26ecc',
    500: '#742fb5',
    950: '#000000',
  },
}
SCSS
$custom: #742fb5;
$custom-light: #a26ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#742fb5",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 270.896,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.19881,
    "h": 302.8
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#742FB5
secondary
#9FC779
accent
#E24692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #742FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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