#742AB9#742AB9

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

Color values

HEX#742AB9
RGBrgb(116, 42, 185)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.3%, 77.3%, 0%, 27.5%)
CIE-LABlab(35.74, 57.52, -61.65)
CIE-LCHlch(35.74, 84.32, 313.02°)
OKLaboklab(47.21% 0.1113 -0.1759)
OKLCHoklch(47.21% 0.208 302.3)
XYZxyz(16.7853, 8.8717, 46.7176)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB9 #6FB92A
analogous
#2C2AB9 #742AB9 #B92AB7
triadic
#742AB9 #B9742A #2AB974
tetradic
#742AB9 #B92C2A #6FB92A #2AB7B9
square
#742AB9 #B92C2A #6FB92A #2AB7B9
split-complementary
#742AB9 #B7B92A #2AB92C
monochromatic
#351355 #551F87 #742AB9 #934AD6 #B07CE1

Accessibility & contrast

On white

7.57
#742AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742AB9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB9#FFFFFF#000000##FFFFFF
##742AB91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#655071
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742ab9;
/* rgb */ color: rgb(116, 42, 185);
/* oklch */ color: oklch(47.2% 0.208 302.3);
Tailwind
colors: {
  custom: {
    50: '#a26ccf',
    500: '#742ab9',
    950: '#000000',
  },
}
SCSS
$custom: #742ab9;
$custom-light: #a26ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab9",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 271.049,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.20816,
    "h": 302.3
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#742AB9
secondary
#9ECA75
accent
#E64291
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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