#742EB3#742EB3

#742EB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.198 H 303.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#742EB3
RGBrgb(116, 46, 179)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(35.2%, 74.3%, 0%, 29.8%)
CIE-LABlab(35.83, 54.45, -57.94)
CIE-LCHlch(35.83, 79.51, 313.23°)
OKLaboklab(47.13% 0.1091 -0.165)
OKLCHoklch(47.13% 0.198 303.5)
XYZxyz(16.3142, 8.9217, 43.5017)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB3 #6DB32E
analogous
#322EB3 #742EB3 #B32EB0
triadic
#742EB3 #B3742E #2EB374
tetradic
#742EB3 #B3322E #6DB32E #2EB0B3
square
#742EB3 #B3322E #6DB32E #2EB0B3
split-complementary
#742EB3 #B0B32E #2EB332
monochromatic
#351552 #542182 #742EB3 #934DD1 #B07EDE

Accessibility & contrast

On white

7.54
#742EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742EB3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB3#FFFFFF#000000##FFFFFF
##742EB31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#674F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742eb3;
/* rgb */ color: rgb(116, 46, 179);
/* oklch */ color: oklch(47.1% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#a26ecb',
    500: '#742eb3',
    950: '#000000',
  },
}
SCSS
$custom: #742eb3;
$custom-light: #a26ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb3",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 271.579,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.19787,
    "h": 303.5
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#742EB3
secondary
#9CC676
accent
#E24690
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #742EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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