#742CB2#742CB2

#742CB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.199 H 304.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#742CB2
RGBrgb(116, 44, 178)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(34.8%, 75.3%, 0%, 30.2%)
CIE-LABlab(35.46, 55.07, -57.95)
CIE-LCHlch(35.46, 79.94, 313.54°)
OKLaboklab(46.84% 0.1112 -0.1651)
OKLCHoklch(46.84% 0.199 304)
XYZxyz(16.1372, 8.7288, 42.9455)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB2 #6AB22C
analogous
#312CB2 #742CB2 #B22CAD
triadic
#742CB2 #B2742C #2CB274
tetradic
#742CB2 #B2312C #6AB22C #2CADB2
square
#742CB2 #B2312C #6AB22C #2CADB2
split-complementary
#742CB2 #ADB22C #2CB231
monochromatic
#341450 #542081 #742CB2 #9349D2 #B07ADE

Accessibility & contrast

On white

7.65
#742CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#742CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CB2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB2#FFFFFF#000000##FFFFFF
##742CB21.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#684E6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742cb2;
/* rgb */ color: rgb(116, 44, 178);
/* oklch */ color: oklch(46.8% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#a26dca',
    500: '#742cb2',
    950: '#000000',
  },
}
SCSS
$custom: #742cb2;
$custom-light: #a26dca;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb2",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 272.239,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.19905,
    "h": 304
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#742CB2
secondary
#9AC673
accent
#E4448E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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