#742FB7#742FB7

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

Color values

HEX#742FB7
RGBrgb(116, 47, 183)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 72%)
CMYKcmyk(36.6%, 74.3%, 0%, 28.2%)
CIE-LABlab(36.30, 54.97, -59.55)
CIE-LCHlch(36.30, 81.04, 312.71°)
OKLaboklab(47.56% 0.1074 -0.1698)
OKLCHoklch(47.56% 0.201 302.3)
XYZxyz(16.7642, 9.1649, 45.6764)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FB7 #72B72F
analogous
#302FB7 #742FB7 #B72FB6
triadic
#742FB7 #B7742F #2FB774
tetradic
#742FB7 #B7302F #72B72F #2FB6B7
square
#742FB7 #B7302F #72B72F #2FB6B7
split-complementary
#742FB7 #B6B72F #2FB730
monochromatic
#361656 #552286 #742FB7 #9351D2 #B182DF

Accessibility & contrast

On white

7.41
#742FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#742FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FB7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FB7#FFFFFF#000000##FFFFFF
##742FB71.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#665171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742fb7;
/* rgb */ color: rgb(116, 47, 183);
/* oklch */ color: oklch(47.6% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#a26ece',
    500: '#742fb7',
    950: '#000000',
  },
}
SCSS
$custom: #742fb7;
$custom-light: #a26ece;
$custom-dark: #000000;
JSON
{
  "hex": "#742fb7",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 270.441,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.20088,
    "h": 302.3
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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