#742EB6#742EB6

#742EB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.201 H 302.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#742EB6
RGBrgb(116, 46, 182)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(36.3%, 74.7%, 0%, 28.6%)
CIE-LABlab(36.07, 55.16, -59.33)
CIE-LCHlch(36.07, 81.01, 312.92°)
OKLaboklab(47.37% 0.1085 -0.1691)
OKLCHoklch(47.37% 0.201 302.7)
XYZxyz(16.6209, 9.0444, 45.1170)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB6 #70B62E
analogous
#302EB6 #742EB6 #B62EB4
triadic
#742EB6 #B6742E #2EB674
tetradic
#742EB6 #B6302E #70B62E #2EB4B6
square
#742EB6 #B6302E #70B62E #2EB4B6
split-complementary
#742EB6 #B4B62E #2EB630
monochromatic
#361554 #552285 #742EB6 #934FD2 #B180DF

Accessibility & contrast

On white

7.48
#742EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#742EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB6#FFFFFF#000000##FFFFFF
##742EB61.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#665070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742eb6;
/* rgb */ color: rgb(116, 46, 182);
/* oklch */ color: oklch(47.4% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#a26ecd',
    500: '#742eb6',
    950: '#000000',
  },
}
SCSS
$custom: #742eb6;
$custom-light: #a26ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb6",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 270.882,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.20095,
    "h": 302.7
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#742EB6
secondary
#9FC878
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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