#742BB8#742BB8

#742BB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.206 H 302.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#742BB8
RGBrgb(116, 43, 184)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(37%, 76.6%, 0%, 27.8%)
CIE-LABlab(35.79, 56.89, -60.96)
CIE-LCHlch(35.79, 83.38, 313.02°)
OKLaboklab(47.22% 0.1107 -0.1739)
OKLCHoklch(47.22% 0.206 302.5)
XYZxyz(16.7160, 8.9014, 46.1756)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB8 #6FB82B
analogous
#2E2BB8 #742BB8 #B82BB6
triadic
#742BB8 #B8742B #2BB874
tetradic
#742BB8 #B82E2B #6FB82B #2BB6B8
square
#742BB8 #B82E2B #6FB82B #2BB6B8
split-complementary
#742BB8 #B6B82B #2BB82E
monochromatic
#351455 #551F86 #742BB8 #934BD5 #B07DE1

Accessibility & contrast

On white

7.55
#742BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#742BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BB8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB8#FFFFFF#000000##FFFFFF
##742BB81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#665070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742bb8;
/* rgb */ color: rgb(116, 43, 184);
/* oklch */ color: oklch(47.2% 0.206 302.5);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#742bb8',
    950: '#000000',
  },
}
SCSS
$custom: #742bb8;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb8",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 271.064,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.20616,
    "h": 302.5
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#742BB8
secondary
#9EC976
accent
#E54391
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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