#742DB8#742DB8

#742DB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.204 H 302.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#742DB8
RGBrgb(116, 45, 184)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 72%)
CMYKcmyk(37%, 75.5%, 0%, 27.8%)
CIE-LABlab(36.08, 56.06, -60.49)
CIE-LCHlch(36.08, 82.48, 312.82°)
OKLaboklab(47.43% 0.1089 -0.1726)
OKLCHoklch(47.43% 0.204 302.3)
XYZxyz(16.7905, 9.0504, 46.2004)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DB8 #71B82D
analogous
#2E2DB8 #742DB8 #B82DB7
triadic
#742DB8 #B8742D #2DB874
tetradic
#742DB8 #B82E2D #71B82D #2DB7B8
square
#742DB8 #B82E2D #71B82D #2DB7B8
split-complementary
#742DB8 #B7B82D #2DB82E
monochromatic
#361556 #552187 #742DB8 #934ED4 #B180E0

Accessibility & contrast

On white

7.47
#742DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#742DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DB8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DB8#FFFFFF#000000##FFFFFF
##742DB81.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#665171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742db8;
/* rgb */ color: rgb(116, 45, 184);
/* oklch */ color: oklch(47.4% 0.204 302.3);
Tailwind
colors: {
  custom: {
    50: '#a26dce',
    500: '#742db8',
    950: '#000000',
  },
}
SCSS
$custom: #742db8;
$custom-light: #a26dce;
$custom-dark: #000000;
JSON
{
  "hex": "#742db8",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 270.647,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.20407,
    "h": 302.3
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#742DB8
secondary
#A0C978
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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