#742DCE#742DCE

#742DCE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.3% C 0.226 H 297.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#742DCE
RGBrgb(116, 45, 206)
HSLhsl(266, 64%, 49%)
HSVhsv(266, 78%, 81%)
CMYKcmyk(43.7%, 78.2%, 0%, 19.2%)
CIE-LABlab(37.92, 61.34, -70.36)
CIE-LCHlch(37.92, 93.35, 311.08°)
OKLaboklab(49.28% 0.1032 -0.2015)
OKLCHoklch(49.28% 0.226 297.1)
XYZxyz(19.2785, 10.0456, 59.3038)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DCE #87CE2D
analogous
#2D36CE #742DCE #C52DCE
triadic
#742DCE #CE742D #2DCE74
tetradic
#742DCE #CE2D36 #87CE2D #2DCEC5
square
#742DCE #CE2D36 #87CE2D #2DCEC5
split-complementary
#742DCE #CEC52D #36CE2D
monochromatic
#3B176A #58229C #742DCE #955DDC #B68FE7

Accessibility & contrast

On white

6.98
#742DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#742DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #742DCE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DCE#FFFFFF#000000##FFFFFF
##742DCE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#5C5A7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #742dce;
/* rgb */ color: rgb(116, 45, 206);
/* oklch */ color: oklch(49.3% 0.226 297.1);
Tailwind
colors: {
  custom: {
    50: '#a46ede',
    500: '#742dce',
    950: '#000000',
  },
}
SCSS
$custom: #742dce;
$custom-light: #a46ede;
$custom-dark: #000000;
JSON
{
  "hex": "#742dce",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 266.46,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.2264,
    "h": 297.1
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#742DCE
secondary
#B0D186
accent
#E7419E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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