#762A86#762A86

#762A86 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.158 H 320.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#762A86
RGBrgb(118, 42, 134)
HSLhsl(290, 52%, 35%)
HSVhsv(290, 69%, 53%)
CMYKcmyk(11.9%, 68.7%, 0%, 47.5%)
CIE-LABlab(32.32, 46.67, -36.28)
CIE-LCHlch(32.32, 59.11, 322.14°)
OKLaboklab(43.68% 0.1217 -0.1014)
OKLCHoklch(43.68% 0.158 320.2)
XYZxyz(12.6017, 7.2293, 23.2812)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A86 #3A862A
analogous
#482A86 #762A86 #862A68
triadic
#762A86 #86762A #2A8676
tetradic
#762A86 #86482A #3A862A #2A6886
square
#762A86 #86482A #3A862A #2A6886
split-complementary
#762A86 #68862A #2A8648
monochromatic
#240D29 #4D1B57 #762A86 #9F39B5 #B95ECD

Accessibility & contrast

On white

8.59
#762A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A86
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A86#FFFFFF#000000##FFFFFF
##762A861.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#773A54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762a86;
/* rgb */ color: rgb(118, 42, 134);
/* oklch */ color: oklch(43.7% 0.158 320.2);
Tailwind
colors: {
  custom: {
    50: '#a06aaa',
    500: '#762a86',
    950: '#000000',
  },
}
SCSS
$custom: #762a86;
$custom-light: #a06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#762a86",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 289.565,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.15842,
    "h": 320.2
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#762A86
secondary
#69B25A
accent
#DC4C65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A86

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

Preview Lab → · Contrast checker → · Palette generator →

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