#742DC6#742DC6

#742DC6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.218 H 298.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#742DC6
RGBrgb(116, 45, 198)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 77%, 78%)
CMYKcmyk(41.4%, 77.3%, 0%, 22.4%)
CIE-LABlab(37.24, 59.41, -66.83)
CIE-LCHlch(37.24, 89.42, 311.64°)
OKLaboklab(48.59% 0.1054 -0.1912)
OKLCHoklch(48.59% 0.218 298.9)
XYZxyz(18.3313, 9.6667, 54.3152)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DC6 #7FC62D
analogous
#2D33C6 #742DC6 #C02DC6
triadic
#742DC6 #C6742D #2DC674
tetradic
#742DC6 #C62D33 #7FC62D #2DC6C0
square
#742DC6 #C62D33 #7FC62D #2DC6C0
split-complementary
#742DC6 #C6C02D #33C62D
monochromatic
#3A1662 #572294 #742DC6 #9357D9 #B389E4

Accessibility & contrast

On white

7.16
#742DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#742DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DC6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DC6#FFFFFF#000000##FFFFFF
##742DC61.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#605679
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #742dc6;
/* rgb */ color: rgb(116, 45, 198);
/* oklch */ color: oklch(48.6% 0.218 298.9);
Tailwind
colors: {
  custom: {
    50: '#a36ed8',
    500: '#742dc6',
    950: '#000000',
  },
}
SCSS
$custom: #742dc6;
$custom-light: #a36ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#742dc6",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 267.843,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.2183,
    "h": 298.9
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#742DC6
secondary
#AACE81
accent
#E6429A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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