#762B86#762B86

#762B86 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.157 H 320.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#762B86
RGBrgb(118, 43, 134)
HSLhsl(289, 51%, 35%)
HSVhsv(289, 68%, 53%)
CMYKcmyk(11.9%, 67.9%, 0%, 47.5%)
CIE-LABlab(32.48, 46.22, -36.02)
CIE-LCHlch(32.48, 58.60, 322.07°)
OKLaboklab(43.8% 0.1205 -0.1007)
OKLCHoklch(43.8% 0.157 320.1)
XYZxyz(12.6376, 7.3011, 23.2932)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B86 #3B862B
analogous
#492B86 #762B86 #862B68
triadic
#762B86 #86762B #2B8676
tetradic
#762B86 #86492B #3B862B #2B6886
square
#762B86 #86492B #3B862B #2B6886
split-complementary
#762B86 #68862B #2B8649
monochromatic
#240D29 #4D1C58 #762B86 #9F3AB4 #B960CC

Accessibility & contrast

On white

8.54
#762B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B86
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B86#FFFFFF#000000##FFFFFF
##762B861.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#773B55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762b86;
/* rgb */ color: rgb(118, 43, 134);
/* oklch */ color: oklch(43.8% 0.157 320.1);
Tailwind
colors: {
  custom: {
    50: '#a06aaa',
    500: '#762b86',
    950: '#000000',
  },
}
SCSS
$custom: #762b86;
$custom-light: #a06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#762b86",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 289.451,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.15703,
    "h": 320.1
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#762B86
secondary
#6AB25B
accent
#DB4D66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762B86

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

Preview Lab → · Contrast checker → · Palette generator →

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