#742CB7#742CB7

#742CB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.204 H 302.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#742CB7
RGBrgb(116, 44, 183)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 72%)
CMYKcmyk(36.6%, 76%, 0%, 28.2%)
CIE-LABlab(35.86, 56.24, -60.27)
CIE-LCHlch(35.86, 82.44, 313.02°)
OKLaboklab(47.24% 0.1101 -0.1719)
OKLCHoklch(47.24% 0.204 302.6)
XYZxyz(16.6483, 8.9332, 45.6378)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB7 #6FB72C
analogous
#2F2CB7 #742CB7 #B72CB5
triadic
#742CB7 #B7742C #2CB774
tetradic
#742CB7 #B72F2C #6FB72C #2CB5B7
square
#742CB7 #B72F2C #6FB72C #2CB5B7
split-complementary
#742CB7 #B5B72C #2CB72F
monochromatic
#351454 #552086 #742CB7 #934CD4 #B07EE0

Accessibility & contrast

On white

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

On black

2.79
#742CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##742CB7#FFFFFF#000000##FFFFFF
##742CB71.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#665070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742cb7;
/* rgb */ color: rgb(116, 44, 183);
/* oklch */ color: oklch(47.2% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#a26dce',
    500: '#742cb7',
    950: '#000000',
  },
}
SCSS
$custom: #742cb7;
$custom-light: #a26dce;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb7",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 271.079,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47242,
    "c": 0.20411,
    "h": 302.6
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#742CB7
secondary
#9EC876
accent
#E44391
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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