#742BB1#742BB1

#742BB1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.199 H 304.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#742BB1
RGBrgb(116, 43, 177)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(34.5%, 75.7%, 0%, 30.6%)
CIE-LABlab(35.23, 55.25, -57.72)
CIE-LCHlch(35.23, 79.90, 313.75°)
OKLaboklab(46.66% 0.1123 -0.1644)
OKLCHoklch(46.66% 0.199 304.3)
XYZxyz(16.0003, 8.6151, 42.4064)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB1 #68B12B
analogous
#312BB1 #742BB1 #B12BAB
triadic
#742BB1 #B1742B #2BB174
tetradic
#742BB1 #B1312B #68B12B #2BABB1
square
#742BB1 #B1312B #68B12B #2BABB1
split-complementary
#742BB1 #ABB12B #2BB131
monochromatic
#33134F #541F80 #742BB1 #9347D2 #B078DE

Accessibility & contrast

On white

7.71
#742BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#742BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BB1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB1#FFFFFF#000000##FFFFFF
##742BB11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#684D6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742bb1;
/* rgb */ color: rgb(116, 43, 177);
/* oklch */ color: oklch(46.7% 0.199 304.3);
Tailwind
colors: {
  custom: {
    50: '#a26cc9',
    500: '#742bb1',
    950: '#000000',
  },
}
SCSS
$custom: #742bb1;
$custom-light: #a26cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb1",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 272.687,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.19911,
    "h": 304.3
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#742BB1
secondary
#98C672
accent
#E4448D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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