#742ACA#742ACA

#742ACA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.7% C 0.225 H 298.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#742ACA
RGBrgb(116, 42, 202)
HSLhsl(268, 66%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(42.6%, 79.2%, 0%, 20.8%)
CIE-LABlab(37.18, 61.54, -69.26)
CIE-LCHlch(37.18, 92.65, 311.62°)
OKLaboklab(48.66% 0.1066 -0.1983)
OKLCHoklch(48.66% 0.225 298.3)
XYZxyz(18.6883, 9.6329, 56.7404)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742ACA #80CA2A
analogous
#2A30CA #742ACA #C42ACA
triadic
#742ACA #CA742A #2ACA74
tetradic
#742ACA #CA2A30 #80CA2A #2ACAC4
square
#742ACA #CA2A30 #80CA2A #2ACAC4
split-complementary
#742ACA #CAC42A #30CA2A
monochromatic
#3A1565 #571F97 #742ACA #9455DC #B488E6

Accessibility & contrast

On white

7.18
#742ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#742ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742ACA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742ACA#FFFFFF#000000##FFFFFF
##742ACA1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#5E577A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #742aca;
/* rgb */ color: rgb(116, 42, 202);
/* oklch */ color: oklch(48.7% 0.225 298.3);
Tailwind
colors: {
  custom: {
    50: '#a46ddb',
    500: '#742aca',
    950: '#000000',
  },
}
SCSS
$custom: #742aca;
$custom-light: #a46ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#742aca",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 267.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.22511,
    "h": 298.3
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#742ACA
secondary
#ABD080
accent
#E93F9A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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