#762A90#762A90

#762A90 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 316.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#762A90
RGBrgb(118, 42, 144)
HSLhsl(285, 55%, 36%)
HSVhsv(285, 71%, 56%)
CMYKcmyk(18.1%, 70.8%, 0%, 43.5%)
CIE-LABlab(32.97, 48.73, -41.43)
CIE-LCHlch(32.97, 63.96, 319.63°)
OKLaboklab(44.35% 0.1212 -0.1165)
OKLCHoklch(44.35% 0.168 316.1)
XYZxyz(13.3324, 7.5216, 27.1297)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A90 #44902A
analogous
#432A90 #762A90 #902A77
triadic
#762A90 #90762A #2A9076
tetradic
#762A90 #90432A #44902A #2A7790
square
#762A90 #90432A #44902A #2A7790
split-complementary
#762A90 #77902A #2A9043
monochromatic
#280E31 #4F1C61 #762A90 #9D38BF #B563D1

Accessibility & contrast

On white

8.39
#762A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#762A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A90
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A90#FFFFFF#000000##FFFFFF
##762A901.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#743E5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762a90;
/* rgb */ color: rgb(118, 42, 144);
/* oklch */ color: oklch(44.3% 0.168 316.1);
Tailwind
colors: {
  custom: {
    50: '#a16ab1',
    500: '#762a90',
    950: '#000000',
  },
}
SCSS
$custom: #762a90;
$custom-light: #a16ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#762a90",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 284.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.16808,
    "h": 316.1
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#762A90
secondary
#75B75E
accent
#DE4A6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A90

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

Preview Lab → · Contrast checker → · Palette generator →

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