#742CA8#742CA8

#742CA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.189 H 306.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#742CA8
RGBrgb(116, 44, 168)
HSLhsl(275, 58%, 42%)
HSVhsv(275, 74%, 66%)
CMYKcmyk(31%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.68, 52.75, -53.24)
CIE-LCHlch(34.68, 74.94, 314.73°)
OKLaboklab(46.05% 0.1132 -0.1512)
OKLCHoklch(46.05% 0.189 306.8)
XYZxyz(15.1695, 8.3417, 37.8492)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CA8 #60A82C
analogous
#362CA8 #742CA8 #A82C9E
triadic
#742CA8 #A8742C #2CA874
tetradic
#742CA8 #A8362C #60A82C #2C9EA8
square
#742CA8 #A8362C #60A82C #2C9EA8
split-complementary
#742CA8 #9EA82C #2CA836
monochromatic
#311347 #531F78 #742CA8 #9443CE #AF74DB

Accessibility & contrast

On white

7.87
#742CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#742CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CA8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CA8#FFFFFF#000000##FFFFFF
##742CA81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6B4968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ca8;
/* rgb */ color: rgb(116, 44, 168);
/* oklch */ color: oklch(46.1% 0.189 306.8);
Tailwind
colors: {
  custom: {
    50: '#a16cc3',
    500: '#742ca8',
    950: '#000000',
  },
}
SCSS
$custom: #742ca8;
$custom-light: #a16cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#742ca8",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 274.839,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.1889,
    "h": 306.8
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#742CA8
secondary
#91C26E
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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