#742BA9#742BA9

#742BA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 306.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#742BA9
RGBrgb(116, 43, 169)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 75%, 66%)
CMYKcmyk(31.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(34.61, 53.40, -53.96)
CIE-LCHlch(34.61, 75.91, 314.70°)
OKLaboklab(46.02% 0.114 -0.1533)
OKLCHoklch(46.02% 0.191 306.6)
XYZxyz(15.2262, 8.3055, 38.3294)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BA9 #60A92B
analogous
#352BA9 #742BA9 #A92B9F
triadic
#742BA9 #A9742B #2BA974
tetradic
#742BA9 #A9352B #60A92B #2B9FA9
square
#742BA9 #A9352B #60A92B #2B9FA9
split-complementary
#742BA9 #9FA92B #2BA935
monochromatic
#311247 #531F78 #742BA9 #9442CF #AF73DB

Accessibility & contrast

On white

7.89
#742BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#742BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BA9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BA9#FFFFFF#000000##FFFFFF
##742BA91.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#6B4968
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742ba9;
/* rgb */ color: rgb(116, 43, 169);
/* oklch */ color: oklch(46.0% 0.191 306.6);
Tailwind
colors: {
  custom: {
    50: '#a16cc3',
    500: '#742ba9',
    950: '#000000',
  },
}
SCSS
$custom: #742ba9;
$custom-light: #a16cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#742ba9",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 274.762,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.19106,
    "h": 306.6
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#742BA9
secondary
#91C36D
accent
#E34587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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