#742FBE#742FBE

#742FBE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.208 H 300.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#742FBE
RGBrgb(116, 47, 190)
HSLhsl(269, 60%, 46%)
HSVhsv(269, 75%, 75%)
CMYKcmyk(38.9%, 75.3%, 0%, 25.5%)
CIE-LABlab(36.86, 56.65, -62.76)
CIE-LCHlch(36.86, 84.55, 312.07°)
OKLaboklab(48.13% 0.1058 -0.1792)
OKLCHoklch(48.13% 0.208 300.5)
XYZxyz(17.5109, 9.4636, 49.6093)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FBE #79BE2F
analogous
#2F32BE #742FBE #BC2FBE
triadic
#742FBE #BE742F #2FBE74
tetradic
#742FBE #BE2F32 #79BE2F #2FBEBC
square
#742FBE #BE2F32 #79BE2F #2FBEBC
split-complementary
#742FBE #BEBC2F #32BE2F
monochromatic
#38175C #56238D #742FBE #9355D5 #B286E1

Accessibility & contrast

On white

7.26
#742FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#742FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FBE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FBE#FFFFFF#000000##FFFFFF
##742FBE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#635475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #742fbe;
/* rgb */ color: rgb(116, 47, 190);
/* oklch */ color: oklch(48.1% 0.208 300.5);
Tailwind
colors: {
  custom: {
    50: '#a36fd3',
    500: '#742fbe',
    950: '#000000',
  },
}
SCSS
$custom: #742fbe;
$custom-light: #a36fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#742fbe",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 268.951,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.20811,
    "h": 300.5
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#742FBE
secondary
#A6CB7E
accent
#E34497
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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