#742EB2#742EB2

#742EB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.197 H 303.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#742EB2
RGBrgb(116, 46, 178)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.8%, 74.2%, 0%, 30.2%)
CIE-LABlab(35.75, 54.22, -57.47)
CIE-LCHlch(35.75, 79.01, 313.33°)
OKLaboklab(47.05% 0.1093 -0.1637)
OKLCHoklch(47.05% 0.197 303.7)
XYZxyz(16.2135, 8.8814, 42.9710)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB2 #6CB22E
analogous
#322EB2 #742EB2 #B22EAE
triadic
#742EB2 #B2742E #2EB274
tetradic
#742EB2 #B2322E #6CB22E #2EAEB2
square
#742EB2 #B2322E #6CB22E #2EAEB2
split-complementary
#742EB2 #AEB22E #2EB232
monochromatic
#351551 #542181 #742EB2 #934CD1 #B07DDD

Accessibility & contrast

On white

7.56
#742EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#742EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB2#FFFFFF#000000##FFFFFF
##742EB21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#684F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742eb2;
/* rgb */ color: rgb(116, 46, 178);
/* oklch */ color: oklch(47.0% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#a26eca',
    500: '#742eb2',
    950: '#000000',
  },
}
SCSS
$custom: #742eb2;
$custom-light: #a26eca;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb2",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 271.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.19684,
    "h": 303.7
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#742EB2
secondary
#9BC676
accent
#E2468F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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