#742ABB#742ABB

#742ABB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.210 H 301.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#742ABB
RGBrgb(116, 42, 187)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 78%, 73%)
CMYKcmyk(38%, 77.5%, 0%, 26.7%)
CIE-LABlab(35.90, 57.99, -62.56)
CIE-LCHlch(35.90, 85.30, 312.83°)
OKLaboklab(47.38% 0.1108 -0.1786)
OKLCHoklch(47.38% 0.21 301.8)
XYZxyz(16.9979, 8.9567, 47.8374)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742ABB #71BB2A
analogous
#2C2ABB #742ABB #BB2AB9
triadic
#742ABB #BB742A #2ABB74
tetradic
#742ABB #BB2C2A #71BB2A #2AB9BB
square
#742ABB #BB2C2A #71BB2A #2AB9BB
split-complementary
#742ABB #B9BB2A #2ABB2C
monochromatic
#361457 #551F89 #742ABB #934CD7 #B17DE2

Accessibility & contrast

On white

7.52
#742ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#742ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742ABB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742ABB#FFFFFF#000000##FFFFFF
##742ABB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#645072
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742abb;
/* rgb */ color: rgb(116, 42, 187);
/* oklch */ color: oklch(47.4% 0.210 301.8);
Tailwind
colors: {
  custom: {
    50: '#a36cd0',
    500: '#742abb',
    950: '#000000',
  },
}
SCSS
$custom: #742abb;
$custom-light: #a36cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#742abb",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 270.621,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47375,
    "c": 0.21016,
    "h": 301.8
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#742ABB
secondary
#A0CA76
accent
#E64192
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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