#742EBA#742EBA

#742EBA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.205 H 301.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#742EBA
RGBrgb(116, 46, 186)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.6%, 75.3%, 0%, 27.1%)
CIE-LABlab(36.39, 56.12, -61.17)
CIE-LCHlch(36.39, 83.01, 312.53°)
OKLaboklab(47.69% 0.1076 -0.1746)
OKLCHoklch(47.69% 0.205 301.6)
XYZxyz(17.0402, 9.2121, 47.3252)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EBA #74BA2E
analogous
#2E2EBA #742EBA #BA2EBA
triadic
#742EBA #BA742E #2EBA74
tetradic
#742EBA #BA2E2E #74BA2E #2EBABA
square
#742EBA #BA2E2E #74BA2E #2EBABA
split-complementary
#742EBA #BABA2E #2EBA2E
monochromatic
#371658 #552289 #742EBA #9351D4 #B182E0

Accessibility & contrast

On white

7.39
#742EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#742EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EBA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EBA#FFFFFF#000000##FFFFFF
##742EBA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.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: #742eba;
/* rgb */ color: rgb(116, 46, 186);
/* oklch */ color: oklch(47.7% 0.205 301.6);
Tailwind
colors: {
  custom: {
    50: '#a26ed0',
    500: '#742eba',
    950: '#000000',
  },
}
SCSS
$custom: #742eba;
$custom-light: #a26ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#742eba",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.20505,
    "h": 301.6
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#742EBA
secondary
#A2C97B
accent
#E34494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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