#742FB9#742FB9

#742FB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 301.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#742FB9
RGBrgb(116, 47, 185)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.3%, 74.6%, 0%, 27.5%)
CIE-LABlab(36.46, 55.45, -60.47)
CIE-LCHlch(36.46, 82.05, 312.52°)
OKLaboklab(47.72% 0.1069 -0.1725)
OKLCHoklch(47.72% 0.203 301.8)
XYZxyz(16.9738, 9.2487, 46.7805)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FB9 #74B92F
analogous
#2F2FB9 #742FB9 #B92FB9
triadic
#742FB9 #B9742F #2FB974
tetradic
#742FB9 #B92F2F #74B92F #2FB9B9
square
#742FB9 #B92F2F #74B92F #2FB9B9
split-complementary
#742FB9 #B9B92F #2FB92F
monochromatic
#371657 #552388 #742FB9 #9352D3 #B183DF

Accessibility & contrast

On white

7.37
#742FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#742FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FB9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FB9#FFFFFF#000000##FFFFFF
##742FB91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#655272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742fb9;
/* rgb */ color: rgb(116, 47, 185);
/* oklch */ color: oklch(47.7% 0.203 301.8);
Tailwind
colors: {
  custom: {
    50: '#a26ecf',
    500: '#742fb9',
    950: '#000000',
  },
}
SCSS
$custom: #742fb9;
$custom-light: #a26ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#742fb9",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 270,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.20294,
    "h": 301.8
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#742FB9
secondary
#A2C97B
accent
#E34594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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