#742EB0#742EB0

#742EB0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.195 H 304.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#742EB0
RGBrgb(116, 46, 176)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 69%)
CMYKcmyk(34.1%, 73.9%, 0%, 31%)
CIE-LABlab(35.60, 53.75, -56.53)
CIE-LCHlch(35.60, 78.00, 313.55°)
OKLaboklab(46.89% 0.1097 -0.1609)
OKLCHoklch(46.89% 0.195 304.3)
XYZxyz(16.0141, 8.8016, 41.9211)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB0 #6AB02E
analogous
#332EB0 #742EB0 #B02EAB
triadic
#742EB0 #B0742E #2EB074
tetradic
#742EB0 #B0332E #6AB02E #2EABB0
square
#742EB0 #B0332E #6AB02E #2EABB0
split-complementary
#742EB0 #ABB02E #2EB033
monochromatic
#34154F #54217F #742EB0 #934BD0 #B07CDD

Accessibility & contrast

On white

7.61
#742EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#742EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB0
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB0#FFFFFF#000000##FFFFFF
##742EB01.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#684E6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742eb0;
/* rgb */ color: rgb(116, 46, 176);
/* oklch */ color: oklch(46.9% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#a16ec8',
    500: '#742eb0',
    950: '#000000',
  },
}
SCSS
$custom: #742eb0;
$custom-light: #a16ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb0",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 272.308,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.19479,
    "h": 304.3
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#742EB0
secondary
#9AC575
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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