#742BB7#742BB7

#742BB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.205 H 302.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#742BB7
RGBrgb(116, 43, 183)
HSLhsl(271, 62%, 44%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(36.6%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.71, 56.65, -60.50)
CIE-LCHlch(35.71, 82.89, 313.12°)
OKLaboklab(47.14% 0.1109 -0.1726)
OKLCHoklch(47.14% 0.205 302.7)
XYZxyz(16.6115, 8.8596, 45.6255)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB7 #6EB72B
analogous
#2E2BB7 #742BB7 #B72BB4
triadic
#742BB7 #B7742B #2BB774
tetradic
#742BB7 #B72E2B #6EB72B #2BB4B7
square
#742BB7 #B72E2B #6EB72B #2BB4B7
split-complementary
#742BB7 #B4B72B #2BB72E
monochromatic
#351454 #551F85 #742BB7 #934BD5 #B07CE0

Accessibility & contrast

On white

7.58
#742BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#742BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BB7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB7#FFFFFF#000000##FFFFFF
##742BB71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#664F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742bb7;
/* rgb */ color: rgb(116, 43, 183);
/* oklch */ color: oklch(47.1% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#742bb7',
    950: '#000000',
  },
}
SCSS
$custom: #742bb7;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb7",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 271.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.20515,
    "h": 302.7
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#742BB7
secondary
#9DC975
accent
#E54390
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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