#742FBC#742FBC

#742FBC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.206 H 301.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#742FBC
RGBrgb(116, 47, 188)
HSLhsl(269, 60%, 46%)
HSVhsv(269, 75%, 74%)
CMYKcmyk(38.3%, 75%, 0%, 26.3%)
CIE-LABlab(36.70, 56.17, -61.84)
CIE-LCHlch(36.70, 83.55, 312.25°)
OKLaboklab(47.96% 0.1062 -0.1766)
OKLCHoklch(47.96% 0.206 301)
XYZxyz(17.2938, 9.3768, 48.4660)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FBC #77BC2F
analogous
#2F30BC #742FBC #BA2FBC
triadic
#742FBC #BC742F #2FBC74
tetradic
#742FBC #BC2F30 #77BC2F #2FBCBA
square
#742FBC #BC2F30 #77BC2F #2FBCBA
split-complementary
#742FBC #BCBA2F #30BC2F
monochromatic
#38175A #56238B #742FBC #9354D4 #B285E0

Accessibility & contrast

On white

7.30
#742FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#742FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FBC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FBC#FFFFFF#000000##FFFFFF
##742FBC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#645374
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742fbc;
/* rgb */ color: rgb(116, 47, 188);
/* oklch */ color: oklch(48.0% 0.206 301.0);
Tailwind
colors: {
  custom: {
    50: '#a26fd1',
    500: '#742fbc',
    950: '#000000',
  },
}
SCSS
$custom: #742fbc;
$custom-light: #a26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#742fbc",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 269.362,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.20605,
    "h": 301
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#742FBC
secondary
#A4CA7D
accent
#E34596
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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