#742FB8#742FB8

#742FB8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.202 H 302.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#742FB8
RGBrgb(116, 47, 184)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 72%)
CMYKcmyk(37%, 74.5%, 0%, 27.8%)
CIE-LABlab(36.38, 55.21, -60.01)
CIE-LCHlch(36.38, 81.54, 312.62°)
OKLaboklab(47.64% 0.1071 -0.1711)
OKLCHoklch(47.64% 0.202 302)
XYZxyz(16.8686, 9.2067, 46.2265)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FB8 #73B82F
analogous
#302FB8 #742FB8 #B82FB7
triadic
#742FB8 #B8742F #2FB874
tetradic
#742FB8 #B8302F #73B82F #2FB7B8
square
#742FB8 #B8302F #73B82F #2FB7B8
split-complementary
#742FB8 #B7B82F #2FB830
monochromatic
#371657 #552387 #742FB8 #9352D3 #B182DF

Accessibility & contrast

On white

7.39
#742FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#742FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FB8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FB8#FFFFFF#000000##FFFFFF
##742FB81.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#655271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742fb8;
/* rgb */ color: rgb(116, 47, 184);
/* oklch */ color: oklch(47.6% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#a26ece',
    500: '#742fb8',
    950: '#000000',
  },
}
SCSS
$custom: #742fb8;
$custom-light: #a26ece;
$custom-dark: #000000;
JSON
{
  "hex": "#742fb8",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 270.219,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.20191,
    "h": 302
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#742FB8
secondary
#A1C87B
accent
#E24593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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