#742FBA#742FBA

#742FBA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.204 H 301.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#742FBA
RGBrgb(116, 47, 186)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.6%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.54, 55.69, -60.93)
CIE-LCHlch(36.54, 82.55, 312.43°)
OKLaboklab(47.8% 0.1067 -0.1739)
OKLCHoklch(47.8% 0.204 301.5)
XYZxyz(17.0797, 9.2911, 47.3384)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FBA #75BA2F
analogous
#2F2FBA #742FBA #B92FBA
triadic
#742FBA #BA742F #2FBA74
tetradic
#742FBA #BA2F2F #75BA2F #2FBAB9
square
#742FBA #BA2F2F #75BA2F #2FBAB9
split-complementary
#742FBA #BAB92F #2FBA2F
monochromatic
#371658 #562389 #742FBA #9353D3 #B184E0

Accessibility & contrast

On white

7.35
#742FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#742FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FBA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FBA#FFFFFF#000000##FFFFFF
##742FBA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742fba;
/* rgb */ color: rgb(116, 47, 186);
/* oklch */ color: oklch(47.8% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#a26ed0',
    500: '#742fba',
    950: '#000000',
  },
}
SCSS
$custom: #742fba;
$custom-light: #a26ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#742fba",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 269.784,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.20398,
    "h": 301.5
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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