#742BB9#742BB9

#742BB9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.207 H 302.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#742BB9
RGBrgb(116, 43, 185)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.3%, 76.8%, 0%, 27.5%)
CIE-LABlab(35.88, 57.12, -61.42)
CIE-LCHlch(35.88, 83.88, 312.92°)
OKLaboklab(47.31% 0.1104 -0.1753)
OKLCHoklch(47.31% 0.207 302.2)
XYZxyz(16.8212, 8.9435, 46.7296)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB9 #70B92B
analogous
#2D2BB9 #742BB9 #B92BB7
triadic
#742BB9 #B9742B #2BB974
tetradic
#742BB9 #B92D2B #70B92B #2BB7B9
square
#742BB9 #B92D2B #70B92B #2BB7B9
split-complementary
#742BB9 #B7B92B #2BB92D
monochromatic
#361456 #551F87 #742BB9 #934CD5 #B17EE1

Accessibility & contrast

On white

7.53
#742BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742BB9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB9#FFFFFF#000000##FFFFFF
##742BB91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742bb9;
/* rgb */ color: rgb(116, 43, 185);
/* oklch */ color: oklch(47.3% 0.207 302.2);
Tailwind
colors: {
  custom: {
    50: '#a26ccf',
    500: '#742bb9',
    950: '#000000',
  },
}
SCSS
$custom: #742bb9;
$custom-light: #a26ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb9",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 270.845,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.20716,
    "h": 302.2
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#742BB9
secondary
#9FC976
accent
#E54292
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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