#742FB3#742FB3

#742FB3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.197 H 303.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#742FB3
RGBrgb(116, 47, 179)
HSLhsl(271, 58%, 44%)
HSVhsv(271, 74%, 70%)
CMYKcmyk(35.2%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.99, 54.02, -57.69)
CIE-LCHlch(35.99, 79.03, 313.12°)
OKLaboklab(47.24% 0.1082 -0.1643)
OKLCHoklch(47.24% 0.197 303.4)
XYZxyz(16.3538, 9.0007, 43.5148)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FB3 #6EB32F
analogous
#322FB3 #742FB3 #B32FB0
triadic
#742FB3 #B3742F #2FB374
tetradic
#742FB3 #B3322F #6EB32F #2FB0B3
square
#742FB3 #B3322F #6EB32F #2FB0B3
split-complementary
#742FB3 #B0B32F #2FB332
monochromatic
#351652 #552283 #742FB3 #934FD1 #B07FDD

Accessibility & contrast

On white

7.50
#742FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#742FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FB3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FB3#FFFFFF#000000##FFFFFF
##742FB31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#67506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742fb3;
/* rgb */ color: rgb(116, 47, 179);
/* oklch */ color: oklch(47.2% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#a26ecb',
    500: '#742fb3',
    950: '#000000',
  },
}
SCSS
$custom: #742fb3;
$custom-light: #a26ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#742fb3",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 271.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.19674,
    "h": 303.4
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#742FB3
secondary
#9DC678
accent
#E24690
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #742FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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