#742EB7#742EB7

#742EB7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.202 H 302.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#742EB7
RGBrgb(116, 46, 183)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(36.6%, 74.9%, 0%, 28.2%)
CIE-LABlab(36.15, 55.40, -59.79)
CIE-LCHlch(36.15, 81.51, 312.82°)
OKLaboklab(47.45% 0.1083 -0.1705)
OKLCHoklch(47.45% 0.202 302.4)
XYZxyz(16.7247, 9.0859, 45.6632)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EB7 #71B72E
analogous
#302EB7 #742EB7 #B72EB5
triadic
#742EB7 #B7742E #2EB774
tetradic
#742EB7 #B7302E #71B72E #2EB5B7
square
#742EB7 #B7302E #71B72E #2EB5B7
split-complementary
#742EB7 #B5B72E #2EB730
monochromatic
#361555 #552286 #742EB7 #934FD3 #B180DF

Accessibility & contrast

On white

7.45
#742EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#742EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EB7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EB7#FFFFFF#000000##FFFFFF
##742EB71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#665171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742eb7;
/* rgb */ color: rgb(116, 46, 183);
/* oklch */ color: oklch(47.4% 0.202 302.4);
Tailwind
colors: {
  custom: {
    50: '#a26ece',
    500: '#742eb7',
    950: '#000000',
  },
}
SCSS
$custom: #742eb7;
$custom-light: #a26ece;
$custom-dark: #000000;
JSON
{
  "hex": "#742eb7",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 270.657,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.20197,
    "h": 302.4
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#742EB7
secondary
#A0C879
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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