#762B7D#762B7D

#762B7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.148 H 324.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#762B7D
RGBrgb(118, 43, 125)
HSLhsl(295, 49%, 33%)
HSVhsv(295, 66%, 49%)
CMYKcmyk(5.6%, 65.6%, 0%, 51%)
CIE-LABlab(31.94, 44.43, -31.27)
CIE-LCHlch(31.94, 54.33, 324.86°)
OKLaboklab(43.23% 0.1204 -0.0868)
OKLCHoklch(43.23% 0.148 324.2)
XYZxyz(12.0364, 7.0607, 20.1269)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B7D #327D2B
analogous
#4D2B7D #762B7D #7D2B5B
triadic
#762B7D #7D762B #2B7D76
tetradic
#762B7D #7D4D2B #327D2B #2B5B7D
square
#762B7D #7D4D2B #327D2B #2B5B7D
split-complementary
#762B7D #5B7D2B #2B7D4D
monochromatic
#200C22 #4B1B4F #762B7D #A13BAB #BE5CC7

Accessibility & contrast

On white

8.71
#762B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#762B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B7D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B7D#FFFFFF#000000##FFFFFF
##762B7D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#783750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762b7d;
/* rgb */ color: rgb(118, 43, 125);
/* oklch */ color: oklch(43.2% 0.148 324.2);
Tailwind
colors: {
  custom: {
    50: '#a06aa3',
    500: '#762b7d',
    950: '#000000',
  },
}
SCSS
$custom: #762b7d;
$custom-light: #a06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#762b7d",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 294.878,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.14846,
    "h": 324.2
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#762B7D
secondary
#5EAD57
accent
#D84F5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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