#762E7A#762E7A

#762E7A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.141 H 325.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#762E7A
RGBrgb(118, 46, 122)
HSLhsl(297, 45%, 33%)
HSVhsv(297, 62%, 48%)
CMYKcmyk(3.3%, 62.3%, 0%, 52.2%)
CIE-LABlab(32.28, 42.44, -28.85)
CIE-LCHlch(32.28, 51.32, 325.80°)
OKLaboklab(43.43% 0.1164 -0.0798)
OKLCHoklch(43.43% 0.141 325.6)
XYZxyz(11.9608, 7.2114, 19.1705)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E7A #327A2E
analogous
#502E7A #762E7A #7A2E58
triadic
#762E7A #7A762E #2E7A76
tetradic
#762E7A #7A502E #327A2E #2E587A
square
#762E7A #7A502E #327A2E #2E587A
split-complementary
#762E7A #587A2E #2E7A50
monochromatic
#200C21 #4B1D4E #762E7A #A13FA6 #BE60C3

Accessibility & contrast

On white

8.60
#762E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E7A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E7A#FFFFFF#000000##FFFFFF
##762E7A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#79384F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762e7a;
/* rgb */ color: rgb(118, 46, 122);
/* oklch */ color: oklch(43.4% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#a06ca1',
    500: '#762e7a',
    950: '#000000',
  },
}
SCSS
$custom: #762e7a;
$custom-light: #a06ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#762e7a",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 296.842,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.14111,
    "h": 325.6
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#762E7A
secondary
#5EAA5A
accent
#D5535A
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #762E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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