#742CA2#742CA2

#742CA2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.183 H 308.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#742CA2
RGBrgb(116, 44, 162)
HSLhsl(277, 57%, 40%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(28.4%, 72.8%, 0%, 36.5%)
CIE-LABlab(34.24, 51.38, -50.35)
CIE-LCHlch(34.24, 71.94, 315.58°)
OKLaboklab(45.59% 0.1142 -0.1427)
OKLCHoklch(45.59% 0.183 308.7)
XYZxyz(14.6234, 8.1233, 34.9730)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CA2 #5AA22C
analogous
#392CA2 #742CA2 #A22C95
triadic
#742CA2 #A2742C #2CA274
tetradic
#742CA2 #A2392C #5AA22C #2C95A2
square
#742CA2 #A2392C #5AA22C #2C95A2
split-complementary
#742CA2 #95A22C #2CA239
monochromatic
#2F1242 #521F72 #742CA2 #9540CB #B070D8

Accessibility & contrast

On white

8.00
#742CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#742CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CA2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CA2#FFFFFF#000000##FFFFFF
##742CA21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0B519F
Tritanopia (blue-blind)
#6D4764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742ca2;
/* rgb */ color: rgb(116, 44, 162);
/* oklch */ color: oklch(45.6% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#742ca2',
    950: '#000000',
  },
}
SCSS
$custom: #742ca2;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742ca2",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 276.61,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.18282,
    "h": 308.7
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#742CA2
secondary
#8CBF6A
accent
#E14783
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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