#742DC7#742DC7

#742DC7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.219 H 298.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#742DC7
RGBrgb(116, 45, 199)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 77%, 78%)
CMYKcmyk(41.7%, 77.4%, 0%, 22%)
CIE-LABlab(37.32, 59.65, -67.27)
CIE-LCHlch(37.32, 89.91, 311.56°)
OKLaboklab(48.68% 0.1051 -0.1925)
OKLCHoklch(48.68% 0.219 298.6)
XYZxyz(18.4470, 9.7130, 54.9247)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DC7 #80C72D
analogous
#2D33C7 #742DC7 #C12DC7
triadic
#742DC7 #C7742D #2DC774
tetradic
#742DC7 #C72D33 #80C72D #2DC7C1
square
#742DC7 #C72D33 #80C72D #2DC7C1
split-complementary
#742DC7 #C7C12D #33C72D
monochromatic
#3A1663 #572295 #742DC7 #9458D9 #B48AE5

Accessibility & contrast

On white

7.14
#742DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#742DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DC7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DC7#FFFFFF#000000##FFFFFF
##742DC71.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#5F5779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #742dc7;
/* rgb */ color: rgb(116, 45, 199);
/* oklch */ color: oklch(48.7% 0.219 298.6);
Tailwind
colors: {
  custom: {
    50: '#a46ed9',
    500: '#742dc7',
    950: '#000000',
  },
}
SCSS
$custom: #742dc7;
$custom-light: #a46ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#742dc7",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 267.662,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.21932,
    "h": 298.6
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#742DC7
secondary
#ABCE81
accent
#E6429A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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