#742EB5#742EB5

#742EB5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.200 H 302.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#742EB5
RGBrgb(116, 46, 181)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(35.9%, 74.6%, 0%, 29%)
CIE-LABlab(35.99, 54.93, -58.87)
CIE-LCHlch(35.99, 80.51, 313.02°)
OKLaboklab(47.29% 0.1087 -0.1678)
OKLCHoklch(47.29% 0.2 302.9)
XYZxyz(16.5180, 9.0032, 44.5747)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB5 #6FB52E
analogous
#312EB5 #742EB5 #B52EB3
triadic
#742EB5 #B5742E #2EB574
tetradic
#742EB5 #B5312E #6FB52E #2EB3B5
square
#742EB5 #B5312E #6FB52E #2EB3B5
split-complementary
#742EB5 #B3B52E #2EB531
monochromatic
#351553 #552284 #742EB5 #934ED2 #B07FDE

Accessibility & contrast

On white

7.50
#742EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#742EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB5#FFFFFF#000000##FFFFFF
##742EB51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#67506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742eb5;
/* rgb */ color: rgb(116, 46, 181);
/* oklch */ color: oklch(47.3% 0.200 302.9);
Tailwind
colors: {
  custom: {
    50: '#a26ecc',
    500: '#742eb5',
    950: '#000000',
  },
}
SCSS
$custom: #742eb5;
$custom-light: #a26ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb5",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 271.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.19992,
    "h": 302.9
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#742EB5
secondary
#9EC778
accent
#E34591
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #742EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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