#742BBA#742BBA

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

Color values

HEX#742BBA
RGBrgb(116, 43, 186)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.6%, 76.9%, 0%, 27.1%)
CIE-LABlab(35.96, 57.36, -61.88)
CIE-LCHlch(35.96, 84.37, 312.83°)
OKLaboklab(47.39% 0.1102 -0.1766)
OKLCHoklch(47.39% 0.208 302)
XYZxyz(16.9271, 8.9859, 47.2875)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BBA #71BA2B
analogous
#2C2BBA #742BBA #BA2BB9
triadic
#742BBA #BA742B #2BBA74
tetradic
#742BBA #BA2C2B #71BA2B #2BB9BA
square
#742BBA #BA2C2B #71BA2B #2BB9BA
split-complementary
#742BBA #B9BA2B #2BBA2C
monochromatic
#361457 #552088 #742BBA #934CD6 #B17EE1

Accessibility & contrast

On white

7.51
#742BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#742BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BBA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BBA#FFFFFF#000000##FFFFFF
##742BBA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#655172
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742bba;
/* rgb */ color: rgb(116, 43, 186);
/* oklch */ color: oklch(47.4% 0.208 302.0);
Tailwind
colors: {
  custom: {
    50: '#a26cd0',
    500: '#742bba',
    950: '#000000',
  },
}
SCSS
$custom: #742bba;
$custom-light: #a26cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#742bba",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 270.629,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.20817,
    "h": 302
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#742BBA
secondary
#A0CA77
accent
#E64292
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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