#742EB9#742EB9

#742EB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.204 H 301.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#742EB9
RGBrgb(116, 46, 185)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.3%, 75.1%, 0%, 27.5%)
CIE-LABlab(36.31, 55.88, -60.71)
CIE-LCHlch(36.31, 82.51, 312.63°)
OKLaboklab(47.61% 0.1078 -0.1732)
OKLCHoklch(47.61% 0.204 301.9)
XYZxyz(16.9343, 9.1697, 46.7673)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB9 #73B92E
analogous
#2F2EB9 #742EB9 #B92EB8
triadic
#742EB9 #B9742E #2EB974
tetradic
#742EB9 #B92F2E #73B92E #2EB8B9
square
#742EB9 #B92F2E #73B92E #2EB8B9
split-complementary
#742EB9 #B8B92E #2EB92F
monochromatic
#371657 #552288 #742EB9 #9351D4 #B182E0

Accessibility & contrast

On white

7.41
#742EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#742EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB9#FFFFFF#000000##FFFFFF
##742EB91.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#655272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742eb9;
/* rgb */ color: rgb(116, 46, 185);
/* oklch */ color: oklch(47.6% 0.204 301.9);
Tailwind
colors: {
  custom: {
    50: '#a26ecf',
    500: '#742eb9',
    950: '#000000',
  },
}
SCSS
$custom: #742eb9;
$custom-light: #a26ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb9",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 270.216,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.20403,
    "h": 301.9
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#742EB9
secondary
#A1C97A
accent
#E34493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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