#742EBC#742EBC

#742EBC is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.207 H 301.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#742EBC
RGBrgb(116, 46, 188)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 74%)
CMYKcmyk(38.3%, 75.5%, 0%, 26.3%)
CIE-LABlab(36.55, 56.60, -62.09)
CIE-LCHlch(36.55, 84.01, 312.35°)
OKLaboklab(47.86% 0.1071 -0.1772)
OKLCHoklch(47.86% 0.207 301.1)
XYZxyz(17.2543, 9.2977, 48.4528)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EBC #76BC2E
analogous
#2E2FBC #742EBC #BB2EBC
triadic
#742EBC #BC742E #2EBC74
tetradic
#742EBC #BC2E2F #76BC2E #2EBCBB
square
#742EBC #BC2E2F #76BC2E #2EBCBB
split-complementary
#742EBC #BCBB2E #2FBC2E
monochromatic
#37165A #56228B #742EBC #9352D5 #B284E1

Accessibility & contrast

On white

7.34
#742EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#742EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EBC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EBC#FFFFFF#000000##FFFFFF
##742EBC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#645373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742ebc;
/* rgb */ color: rgb(116, 46, 188);
/* oklch */ color: oklch(47.9% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#a26ed1',
    500: '#742ebc',
    950: '#000000',
  },
}
SCSS
$custom: #742ebc;
$custom-light: #a26ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#742ebc",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 269.577,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.2071,
    "h": 301.1
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#742EBC
secondary
#A3CA7C
accent
#E44495
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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