#742FBB#742FBB

#742FBB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.205 H 301.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#742FBB
RGBrgb(116, 47, 187)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(38%, 74.9%, 0%, 26.7%)
CIE-LABlab(36.62, 55.93, -61.39)
CIE-LCHlch(36.62, 83.05, 312.34°)
OKLaboklab(47.88% 0.1065 -0.1752)
OKLCHoklch(47.88% 0.205 301.3)
XYZxyz(17.1864, 9.3338, 47.9002)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FBB #76BB2F
analogous
#2F30BB #742FBB #BA2FBB
triadic
#742FBB #BB742F #2FBB74
tetradic
#742FBB #BB2F30 #76BB2F #2FBBBA
square
#742FBB #BB2F30 #76BB2F #2FBBBA
split-complementary
#742FBB #BBBA2F #30BB2F
monochromatic
#371659 #56238A #742FBB #9353D4 #B284E0

Accessibility & contrast

On white

7.33
#742FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#742FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FBB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FBB#FFFFFF#000000##FFFFFF
##742FBB1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#645373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742fbb;
/* rgb */ color: rgb(116, 47, 187);
/* oklch */ color: oklch(47.9% 0.205 301.3);
Tailwind
colors: {
  custom: {
    50: '#a26fd0',
    500: '#742fbb',
    950: '#000000',
  },
}
SCSS
$custom: #742fbb;
$custom-light: #a26fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#742fbb",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 269.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.20501,
    "h": 301.3
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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