#742EBD#742EBD

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

Color values

HEX#742EBD
RGBrgb(116, 46, 189)
HSLhsl(269, 61%, 46%)
HSVhsv(269, 76%, 74%)
CMYKcmyk(38.6%, 75.7%, 0%, 25.9%)
CIE-LABlab(36.63, 56.84, -62.54)
CIE-LCHlch(36.63, 84.51, 312.26°)
OKLaboklab(47.94% 0.1069 -0.1786)
OKLCHoklch(47.94% 0.208 300.9)
XYZxyz(17.3625, 9.3410, 49.0225)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EBD #77BD2E
analogous
#2E2FBD #742EBD #BB2EBD
triadic
#742EBD #BD742E #2EBD74
tetradic
#742EBD #BD2E2F #77BD2E #2EBDBB
square
#742EBD #BD2E2F #77BD2E #2EBDBB
split-complementary
#742EBD #BDBB2E #2FBD2E
monochromatic
#38165B #56228C #742EBD #9353D5 #B284E1

Accessibility & contrast

On white

7.32
#742EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742EBD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EBD#FFFFFF#000000##FFFFFF
##742EBD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742ebd;
/* rgb */ color: rgb(116, 46, 189);
/* oklch */ color: oklch(47.9% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#a36ed2',
    500: '#742ebd',
    950: '#000000',
  },
}
SCSS
$custom: #742ebd;
$custom-light: #a36ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#742ebd",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 269.371,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.20812,
    "h": 300.9
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#742EBD
secondary
#A4CA7C
accent
#E44496
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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