#762D70#762D70

#762D70 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.133 H 330.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#762D70
RGBrgb(118, 45, 112)
HSLhsl(305, 45%, 32%)
HSVhsv(305, 62%, 46%)
CMYKcmyk(0%, 61.9%, 5.1%, 53.7%)
CIE-LABlab(31.58, 41.04, -23.65)
CIE-LCHlch(31.58, 47.36, 330.05°)
OKLaboklab(42.74% 0.1167 -0.0648)
OKLCHoklch(42.74% 0.133 330.9)
XYZxyz(11.3342, 6.8990, 16.0608)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D70 #2D7633
analogous
#582D76 #762D70 #762D4B
triadic
#762D70 #70762D #2D7076
tetradic
#762D70 #76582D #2D7633 #2D4B76
square
#762D70 #76582D #2D7633 #2D4B76
split-complementary
#762D70 #4B762D #2D7658
monochromatic
#1D0B1C #4A1C46 #762D70 #A23E9A #C15CB9

Accessibility & contrast

On white

8.83
#762D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D70
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D70#FFFFFF#000000##FFFFFF
##762D701.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#414E6E
Tritanopia (blue-blind)
#7B344A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762d70;
/* rgb */ color: rgb(118, 45, 112);
/* oklch */ color: oklch(42.7% 0.133 330.9);
Tailwind
colors: {
  custom: {
    50: '#a06b99',
    500: '#762d70',
    950: '#000000',
  },
}
SCSS
$custom: #762d70;
$custom-light: #a06b99;
$custom-dark: #000000;
JSON
{
  "hex": "#762d70",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 304.932,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.13347,
    "h": 330.9
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#762D70
secondary
#57A75E
accent
#D45E53
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762D70

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

Preview Lab → · Contrast checker → · Palette generator →

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