#762C8C#762C8C

#762C8C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.162 H 317.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#762C8C
RGBrgb(118, 44, 140)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 69%, 55%)
CMYKcmyk(15.7%, 68.6%, 0%, 45.1%)
CIE-LABlab(33.02, 47.01, -38.88)
CIE-LCHlch(33.02, 61.00, 320.41°)
OKLaboklab(44.3% 0.1192 -0.109)
OKLCHoklch(44.3% 0.162 317.5)
XYZxyz(13.1048, 7.5469, 25.5723)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C8C #428C2C
analogous
#462C8C #762C8C #8C2C72
triadic
#762C8C #8C762C #2C8C76
tetradic
#762C8C #8C462C #428C2C #2C728C
square
#762C8C #8C462C #428C2C #2C728C
split-complementary
#762C8C #728C2C #2C8C46
monochromatic
#280F2F #4F1D5D #762C8C #9D3BBB #B664CE

Accessibility & contrast

On white

8.37
#762C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#762C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C8C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C8C#FFFFFF#000000##FFFFFF
##762C8C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01498F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#753E58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762c8c;
/* rgb */ color: rgb(118, 44, 140);
/* oklch */ color: oklch(44.3% 0.162 317.5);
Tailwind
colors: {
  custom: {
    50: '#a16bae',
    500: '#762c8c',
    950: '#000000',
  },
}
SCSS
$custom: #762c8c;
$custom-light: #a16bae;
$custom-dark: #000000;
JSON
{
  "hex": "#762c8c",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 286.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.1615,
    "h": 317.5
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#762C8C
secondary
#73B55F
accent
#DC4C6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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