#742BC2#742BC2

#742BC2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.216 H 300.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#742BC2
RGBrgb(116, 43, 194)
HSLhsl(269, 64%, 46%)
HSVhsv(269, 78%, 76%)
CMYKcmyk(40.2%, 77.8%, 0%, 23.9%)
CIE-LABlab(36.62, 59.25, -65.49)
CIE-LCHlch(36.62, 88.32, 312.13°)
OKLaboklab(48.06% 0.1081 -0.1872)
OKLCHoklch(48.06% 0.216 300)
XYZxyz(17.8015, 9.3356, 51.8926)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BC2 #79C22B
analogous
#2B2DC2 #742BC2 #C02BC2
triadic
#742BC2 #C2742B #2BC274
tetradic
#742BC2 #C22B2D #79C22B #2BC2C0
square
#742BC2 #C22B2D #79C22B #2BC2C0
split-complementary
#742BC2 #C2C02B #2DC22B
monochromatic
#38155E #562090 #742BC2 #9352D9 #B284E4

Accessibility & contrast

On white

7.32
#742BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#742BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BC2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BC2#FFFFFF#000000##FFFFFF
##742BC21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#625476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742bc2;
/* rgb */ color: rgb(116, 43, 194);
/* oklch */ color: oklch(48.1% 0.216 300.0);
Tailwind
colors: {
  custom: {
    50: '#a36dd6',
    500: '#742bc2',
    950: '#000000',
  },
}
SCSS
$custom: #742bc2;
$custom-light: #a36dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#742bc2",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 269.007,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.21619,
    "h": 300
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#742BC2
secondary
#A6CD7C
accent
#E74197
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #742BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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