#762A9A#762A9A

#762A9A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.178 H 312.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#762A9A
RGBrgb(118, 42, 154)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 73%, 60%)
CMYKcmyk(23.4%, 72.7%, 0%, 39.6%)
CIE-LABlab(33.65, 50.87, -46.44)
CIE-LCHlch(33.65, 68.88, 317.61°)
OKLaboklab(45.05% 0.1202 -0.1312)
OKLCHoklch(45.05% 0.178 312.5)
XYZxyz(14.1309, 7.8410, 31.3347)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A9A #4E9A2A
analogous
#3E2A9A #762A9A #9A2A86
triadic
#762A9A #9A762A #2A9A76
tetradic
#762A9A #9A3E2A #4E9A2A #2A869A
square
#762A9A #9A3E2A #4E9A2A #2A869A
split-complementary
#762A9A #869A2A #2A9A3E
monochromatic
#2C103A #511D6A #762A9A #9A38C9 #B368D6

Accessibility & contrast

On white

8.18
#762A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#762A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A9A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A9A#FFFFFF#000000##FFFFFF
##762A9A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#72425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762a9a;
/* rgb */ color: rgb(118, 42, 154);
/* oklch */ color: oklch(45.1% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#762a9a',
    950: '#000000',
  },
}
SCSS
$custom: #762a9a;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#762a9a",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 280.714,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.17789,
    "h": 312.5
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#762A9A
secondary
#80BC63
accent
#E04779
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A9A

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

Preview Lab → · Contrast checker → · Palette generator →

#762A9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva