#742DB6#742DB6

#742DB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.202 H 302.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#742DB6
RGBrgb(116, 45, 182)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(36.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.92, 55.59, -59.57)
CIE-LCHlch(35.92, 81.48, 313.02°)
OKLaboklab(47.26% 0.1094 -0.1698)
OKLCHoklch(47.26% 0.202 302.8)
XYZxyz(16.5823, 8.9672, 45.1041)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DB6 #6FB62D
analogous
#302DB6 #742DB6 #B62DB4
triadic
#742DB6 #B6742D #2DB674
tetradic
#742DB6 #B6302D #6FB62D #2DB4B6
square
#742DB6 #B6302D #6FB62D #2DB4B6
split-complementary
#742DB6 #B4B62D #2DB630
monochromatic
#351554 #552185 #742DB6 #934DD3 #B07EDF

Accessibility & contrast

On white

7.52
#742DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#742DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DB6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DB6#FFFFFF#000000##FFFFFF
##742DB61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#665070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742db6;
/* rgb */ color: rgb(116, 45, 182);
/* oklch */ color: oklch(47.3% 0.202 302.8);
Tailwind
colors: {
  custom: {
    50: '#a26dcd',
    500: '#742db6',
    950: '#000000',
  },
}
SCSS
$custom: #742db6;
$custom-light: #a26dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#742db6",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 271.095,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.20203,
    "h": 302.8
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#742DB6
secondary
#9EC877
accent
#E34491
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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