#742DCA#742DCA

#742DCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.222 H 298.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#742DCA
RGBrgb(116, 45, 202)
HSLhsl(267, 64%, 48%)
HSVhsv(267, 78%, 79%)
CMYKcmyk(42.6%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.58, 60.38, -68.60)
CIE-LCHlch(37.58, 91.39, 311.35°)
OKLaboklab(48.94% 0.1043 -0.1964)
OKLCHoklch(48.94% 0.222 298)
XYZxyz(18.7987, 9.8537, 56.7772)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DCA #83CA2D
analogous
#2D34CA #742DCA #C22DCA
triadic
#742DCA #CA742D #2DCA74
tetradic
#742DCA #CA2D34 #83CA2D #2DCAC2
square
#742DCA #CA2D34 #83CA2D #2DCAC2
split-complementary
#742DCA #CAC22D #34CA2D
monochromatic
#3B1766 #572298 #742DCA #945ADA #B48CE5

Accessibility & contrast

On white

7.07
#742DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#742DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DCA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DCA#FFFFFF#000000##FFFFFF
##742DCA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#5E587B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #742dca;
/* rgb */ color: rgb(116, 45, 202);
/* oklch */ color: oklch(48.9% 0.222 298.0);
Tailwind
colors: {
  custom: {
    50: '#a46edb',
    500: '#742dca',
    950: '#000000',
  },
}
SCSS
$custom: #742dca;
$custom-light: #a46edb;
$custom-dark: #000000;
JSON
{
  "hex": "#742dca",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 267.134,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.22235,
    "h": 298
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#742DCA
secondary
#ADCF83
accent
#E7419C
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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