#742DB7#742DB7

#742DB7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.203 H 302.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#742DB7
RGBrgb(116, 45, 183)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(36.6%, 75.4%, 0%, 28.2%)
CIE-LABlab(36.00, 55.83, -60.03)
CIE-LCHlch(36.00, 81.98, 312.92°)
OKLaboklab(47.35% 0.1092 -0.1712)
OKLCHoklch(47.35% 0.203 302.5)
XYZxyz(16.6861, 9.0086, 45.6503)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DB7 #70B72D
analogous
#2F2DB7 #742DB7 #B72DB5
triadic
#742DB7 #B7742D #2DB774
tetradic
#742DB7 #B72F2D #70B72D #2DB5B7
square
#742DB7 #B72F2D #70B72D #2DB5B7
split-complementary
#742DB7 #B5B72D #2DB72F
monochromatic
#361555 #552186 #742DB7 #934ED3 #B17FDF

Accessibility & contrast

On white

7.50
#742DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#742DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DB7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DB7#FFFFFF#000000##FFFFFF
##742DB71.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#665070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742db7;
/* rgb */ color: rgb(116, 45, 183);
/* oklch */ color: oklch(47.3% 0.203 302.5);
Tailwind
colors: {
  custom: {
    50: '#a26dce',
    500: '#742db7',
    950: '#000000',
  },
}
SCSS
$custom: #742db7;
$custom-light: #a26dce;
$custom-dark: #000000;
JSON
{
  "hex": "#742db7",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 270.87,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.20305,
    "h": 302.5
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#742DB7
secondary
#9FC878
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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