#742CA3#742CA3

#742CA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.184 H 308.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#742CA3
RGBrgb(116, 44, 163)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(28.8%, 73%, 0%, 36.1%)
CIE-LABlab(34.31, 51.60, -50.84)
CIE-LCHlch(34.31, 72.44, 315.43°)
OKLaboklab(45.67% 0.1141 -0.1442)
OKLCHoklch(45.67% 0.184 308.3)
XYZxyz(14.7126, 8.1589, 35.4430)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CA3 #5BA32C
analogous
#392CA3 #742CA3 #A32C96
triadic
#742CA3 #A3742C #2CA374
tetradic
#742CA3 #A3392C #5BA32C #2C96A3
square
#742CA3 #A3392C #5BA32C #2C96A3
split-complementary
#742CA3 #96A32C #2CA339
monochromatic
#2F1243 #521F73 #742CA3 #9541CC #B071D9

Accessibility & contrast

On white

7.98
#742CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#742CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CA3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CA3#FFFFFF#000000##FFFFFF
##742CA31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#6D4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742ca3;
/* rgb */ color: rgb(116, 44, 163);
/* oklch */ color: oklch(45.7% 0.184 308.3);
Tailwind
colors: {
  custom: {
    50: '#a06cbf',
    500: '#742ca3',
    950: '#000000',
  },
}
SCSS
$custom: #742ca3;
$custom-light: #a06cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#742ca3",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 276.303,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.18383,
    "h": 308.3
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#742CA3
secondary
#8CC06B
accent
#E14784
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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