#742EB8#742EB8

#742EB8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.203 H 302.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#742EB8
RGBrgb(116, 46, 184)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 72%)
CMYKcmyk(37%, 75%, 0%, 27.8%)
CIE-LABlab(36.23, 55.64, -60.25)
CIE-LCHlch(36.23, 82.01, 312.72°)
OKLaboklab(47.53% 0.108 -0.1719)
OKLCHoklch(47.53% 0.203 302.2)
XYZxyz(16.8291, 9.1276, 46.2133)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB8 #72B82E
analogous
#2F2EB8 #742EB8 #B82EB7
triadic
#742EB8 #B8742E #2EB874
tetradic
#742EB8 #B82F2E #72B82E #2EB7B8
square
#742EB8 #B82F2E #72B82E #2EB7B8
split-complementary
#742EB8 #B7B82E #2EB82F
monochromatic
#361656 #552287 #742EB8 #9350D3 #B181DF

Accessibility & contrast

On white

7.43
#742EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742EB8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB8#FFFFFF#000000##FFFFFF
##742EB81.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#655171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742eb8;
/* rgb */ color: rgb(116, 46, 184);
/* oklch */ color: oklch(47.5% 0.203 302.2);
Tailwind
colors: {
  custom: {
    50: '#a26ece',
    500: '#742eb8',
    950: '#000000',
  },
}
SCSS
$custom: #742eb8;
$custom-light: #a26ece;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb8",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 270.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4753,
    "c": 0.203,
    "h": 302.2
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#742EB8
secondary
#A0C879
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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