#742CB8#742CB8

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

Color values

HEX#742CB8
RGBrgb(116, 44, 184)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 72%)
CMYKcmyk(37%, 76.1%, 0%, 27.8%)
CIE-LABlab(35.94, 56.48, -60.73)
CIE-LCHlch(35.94, 82.93, 312.92°)
OKLaboklab(47.32% 0.1098 -0.1732)
OKLCHoklch(47.32% 0.205 302.4)
XYZxyz(16.7528, 8.9750, 46.1879)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB8 #70B82C
analogous
#2E2CB8 #742CB8 #B82CB6
triadic
#742CB8 #B8742C #2CB874
tetradic
#742CB8 #B82E2C #70B82C #2CB6B8
square
#742CB8 #B82E2C #70B82C #2CB6B8
split-complementary
#742CB8 #B6B82C #2CB82E
monochromatic
#361455 #552087 #742CB8 #934DD4 #B17EE0

Accessibility & contrast

On white

7.51
#742CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742CB8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB8#FFFFFF#000000##FFFFFF
##742CB81.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#665071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742cb8;
/* rgb */ color: rgb(116, 44, 184);
/* oklch */ color: oklch(47.3% 0.205 302.4);
Tailwind
colors: {
  custom: {
    50: '#a26dce',
    500: '#742cb8',
    950: '#000000',
  },
}
SCSS
$custom: #742cb8;
$custom-light: #a26dce;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb8",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 270.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.20512,
    "h": 302.4
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#742CB8
secondary
#9FC977
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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