#762C7E#762C7E

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

Color values

HEX#762C7E
RGBrgb(118, 44, 126)
HSLhsl(294, 48%, 33%)
HSVhsv(294, 65%, 49%)
CMYKcmyk(6.3%, 65.1%, 0%, 50.6%)
CIE-LABlab(32.17, 44.16, -31.54)
CIE-LCHlch(32.17, 54.27, 324.47°)
OKLaboklab(43.42% 0.1192 -0.0876)
OKLCHoklch(43.42% 0.148 323.7)
XYZxyz(12.1374, 7.1600, 20.4773)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C7E #347E2C
analogous
#4D2C7E #762C7E #7E2C5D
triadic
#762C7E #7E762C #2C7E76
tetradic
#762C7E #7E4D2C #347E2C #2C5D7E
square
#762C7E #7E4D2C #347E2C #2C5D7E
split-complementary
#762C7E #5D7E2C #2C7E4D
monochromatic
#210C23 #4C1C51 #762C7E #A03CAB #BC5EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762C7E#FFFFFF#000000##FFFFFF
##762C7E1.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)
#1C4680
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#783851
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762c7e;
/* rgb */ color: rgb(118, 44, 126);
/* oklch */ color: oklch(43.4% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#a06ba4',
    500: '#762c7e',
    950: '#000000',
  },
}
SCSS
$custom: #762c7e;
$custom-light: #a06ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#762c7e",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 294.146,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.14793,
    "h": 323.7
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#762C7E
secondary
#61AD59
accent
#D8505D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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