#762E82#762E82

#762E82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.149 H 321.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#762E82
RGBrgb(118, 46, 130)
HSLhsl(291, 48%, 35%)
HSVhsv(291, 65%, 51%)
CMYKcmyk(9.2%, 64.6%, 0%, 49%)
CIE-LABlab(32.74, 44.03, -33.13)
CIE-LCHlch(32.74, 55.10, 323.04°)
OKLaboklab(43.9% 0.1168 -0.0922)
OKLCHoklch(43.9% 0.149 321.7)
XYZxyz(12.4770, 7.4179, 21.8893)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E82 #3A822E
analogous
#4C2E82 #762E82 #822E64
triadic
#762E82 #82762E #2E8276
tetradic
#762E82 #824C2E #3A822E #2E6482
square
#762E82 #824C2E #3A822E #2E6482
split-complementary
#762E82 #64822E #2E824C
monochromatic
#240E28 #4D1E55 #762E82 #9F3EAF #B963C8

Accessibility & contrast

On white

8.46
#762E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E82
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E82#FFFFFF#000000##FFFFFF
##762E821.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#773B54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762e82;
/* rgb */ color: rgb(118, 46, 130);
/* oklch */ color: oklch(43.9% 0.149 321.7);
Tailwind
colors: {
  custom: {
    50: '#a06ca7',
    500: '#762e82',
    950: '#000000',
  },
}
SCSS
$custom: #762e82;
$custom-light: #a06ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#762e82",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 291.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.14882,
    "h": 321.7
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#762E82
secondary
#69AE5D
accent
#D75064
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762E82

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

Preview Lab → · Contrast checker → · Palette generator →

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