#742BB6#742BB6

#742BB6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 303.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#742BB6
RGBrgb(116, 43, 182)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(36.3%, 76.4%, 0%, 28.6%)
CIE-LABlab(35.63, 56.42, -60.04)
CIE-LCHlch(35.63, 82.39, 313.22°)
OKLaboklab(47.06% 0.1112 -0.1712)
OKLCHoklch(47.06% 0.204 303)
XYZxyz(16.5078, 8.8181, 45.0793)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB6 #6DB62B
analogous
#2F2BB6 #742BB6 #B62BB3
triadic
#742BB6 #B6742B #2BB674
tetradic
#742BB6 #B62F2B #6DB62B #2BB3B6
square
#742BB6 #B62F2B #6DB62B #2BB3B6
split-complementary
#742BB6 #B3B62B #2BB62F
monochromatic
#351453 #541F84 #742BB6 #934AD4 #B07BE0

Accessibility & contrast

On white

7.60
#742BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742BB6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB6#FFFFFF#000000##FFFFFF
##742BB61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#664F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742bb6;
/* rgb */ color: rgb(116, 43, 182);
/* oklch */ color: oklch(47.1% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#a26ccd',
    500: '#742bb6',
    950: '#000000',
  },
}
SCSS
$custom: #742bb6;
$custom-light: #a26ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb6",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 271.511,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.20415,
    "h": 303
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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