#742BB5#742BB5

#742BB5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 303.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#742BB5
RGBrgb(116, 43, 181)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35.9%, 76.2%, 0%, 29%)
CIE-LABlab(35.55, 56.18, -59.58)
CIE-LCHlch(35.55, 81.89, 313.32°)
OKLaboklab(46.98% 0.1114 -0.1699)
OKLCHoklch(46.98% 0.203 303.3)
XYZxyz(16.4049, 8.7770, 44.5370)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB5 #6CB52B
analogous
#2F2BB5 #742BB5 #B52BB1
triadic
#742BB5 #B5742B #2BB574
tetradic
#742BB5 #B52F2B #6CB52B #2BB1B5
square
#742BB5 #B52F2B #6CB52B #2BB1B5
split-complementary
#742BB5 #B1B52B #2BB52F
monochromatic
#351452 #541F84 #742BB5 #9349D4 #B07BE0

Accessibility & contrast

On white

7.62
#742BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#742BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BB5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB5#FFFFFF#000000##FFFFFF
##742BB51.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#674E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742bb5;
/* rgb */ color: rgb(116, 43, 181);
/* oklch */ color: oklch(47.0% 0.203 303.3);
Tailwind
colors: {
  custom: {
    50: '#a26ccc',
    500: '#742bb5',
    950: '#000000',
  },
}
SCSS
$custom: #742bb5;
$custom-light: #a26ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb5",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 271.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.20314,
    "h": 303.3
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#742BB5
secondary
#9BC874
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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