#762A83#762A83

#762A83 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.156 H 321.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#762A83
RGBrgb(118, 42, 131)
HSLhsl(291, 51%, 34%)
HSVhsv(291, 68%, 51%)
CMYKcmyk(9.9%, 67.9%, 0%, 48.6%)
CIE-LABlab(32.14, 46.06, -34.71)
CIE-LCHlch(32.14, 57.68, 323.00°)
OKLaboklab(43.49% 0.1218 -0.0968)
OKLCHoklch(43.49% 0.156 321.5)
XYZxyz(12.3955, 7.1468, 22.1949)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A83 #37832A
analogous
#4A2A83 #762A83 #832A64
triadic
#762A83 #83762A #2A8376
tetradic
#762A83 #834A2A #37832A #2A6483
square
#762A83 #834A2A #37832A #2A6483
split-complementary
#762A83 #64832A #2A834A
monochromatic
#230C26 #4C1B55 #762A83 #A039B1 #BB5DCB

Accessibility & contrast

On white

8.64
#762A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A83
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A83#FFFFFF#000000##FFFFFF
##762A831.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114686
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#773953
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762a83;
/* rgb */ color: rgb(118, 42, 131);
/* oklch */ color: oklch(43.5% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#a06aa7',
    500: '#762a83',
    950: '#000000',
  },
}
SCSS
$custom: #762a83;
$custom-light: #a06aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#762a83",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 291.236,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.15555,
    "h": 321.5
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#762A83
secondary
#65B158
accent
#DB4D62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762A83

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

Preview Lab → · Contrast checker → · Palette generator →

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