#742DB5#742DB5

#742DB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 303.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#742DB5
RGBrgb(116, 45, 181)
HSLhsl(271, 60%, 44%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(35.9%, 75.1%, 0%, 29%)
CIE-LABlab(35.84, 55.35, -59.11)
CIE-LCHlch(35.84, 80.98, 313.12°)
OKLaboklab(47.18% 0.1096 -0.1685)
OKLCHoklch(47.18% 0.201 303)
XYZxyz(16.4794, 8.9260, 44.5618)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DB5 #6EB52D
analogous
#302DB5 #742DB5 #B52DB2
triadic
#742DB5 #B5742D #2DB574
tetradic
#742DB5 #B5302D #6EB52D #2DB2B5
square
#742DB5 #B5302D #6EB52D #2DB2B5
split-complementary
#742DB5 #B2B52D #2DB530
monochromatic
#351553 #552184 #742DB5 #934DD3 #B07EDF

Accessibility & contrast

On white

7.54
#742DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742DB5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DB5#FFFFFF#000000##FFFFFF
##742DB51.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#674F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742db5;
/* rgb */ color: rgb(116, 45, 181);
/* oklch */ color: oklch(47.2% 0.201 303.0);
Tailwind
colors: {
  custom: {
    50: '#a26dcc',
    500: '#742db5',
    950: '#000000',
  },
}
SCSS
$custom: #742db5;
$custom-light: #a26dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#742db5",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 271.324,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.20101,
    "h": 303
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#742DB5
secondary
#9DC776
accent
#E34490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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