#742AB8#742AB8

#742AB8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.207 H 302.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#742AB8
RGBrgb(116, 42, 184)
HSLhsl(271, 63%, 44%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(37%, 77.2%, 0%, 27.8%)
CIE-LABlab(35.65, 57.29, -61.19)
CIE-LCHlch(35.65, 83.82, 313.11°)
OKLaboklab(47.13% 0.1115 -0.1746)
OKLCHoklch(47.13% 0.207 302.6)
XYZxyz(16.6801, 8.8296, 46.1636)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB8 #6EB82A
analogous
#2D2AB8 #742AB8 #B82AB5
triadic
#742AB8 #B8742A #2AB874
tetradic
#742AB8 #B82D2A #6EB82A #2AB5B8
square
#742AB8 #B82D2A #6EB82A #2AB5B8
split-complementary
#742AB8 #B5B82A #2AB82D
monochromatic
#351354 #551F86 #742AB8 #934AD6 #B07BE1

Accessibility & contrast

On white

7.59
#742AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#742AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AB8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB8#FFFFFF#000000##FFFFFF
##742AB81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#664F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742ab8;
/* rgb */ color: rgb(116, 42, 184);
/* oklch */ color: oklch(47.1% 0.207 302.6);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#742ab8',
    950: '#000000',
  },
}
SCSS
$custom: #742ab8;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab8",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 271.268,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.20717,
    "h": 302.6
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#742AB8
secondary
#9DC975
accent
#E64290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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