#762B88#762B88

#762B88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.159 H 319.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#762B88
RGBrgb(118, 43, 136)
HSLhsl(288, 52%, 35%)
HSVhsv(288, 68%, 53%)
CMYKcmyk(13.2%, 68.4%, 0%, 46.7%)
CIE-LABlab(32.61, 46.63, -37.07)
CIE-LCHlch(32.61, 59.57, 321.52°)
OKLaboklab(43.93% 0.1205 -0.1037)
OKLCHoklch(43.93% 0.159 319.3)
XYZxyz(12.7784, 7.3575, 24.0348)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B88 #3D882B
analogous
#472B88 #762B88 #882B6B
triadic
#762B88 #88762B #2B8876
tetradic
#762B88 #88472B #3D882B #2B6B88
square
#762B88 #88472B #3D882B #2B6B88
split-complementary
#762B88 #6B882B #2B8847
monochromatic
#250E2B #4E1C5A #762B88 #9E3AB6 #B861CD

Accessibility & contrast

On white

8.50
#762B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B88
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B88#FFFFFF#000000##FFFFFF
##762B881.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#763C56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762b88;
/* rgb */ color: rgb(118, 43, 136);
/* oklch */ color: oklch(43.9% 0.159 319.3);
Tailwind
colors: {
  custom: {
    50: '#a06bab',
    500: '#762b88',
    950: '#000000',
  },
}
SCSS
$custom: #762b88;
$custom-light: #a06bab;
$custom-dark: #000000;
JSON
{
  "hex": "#762b88",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 288.387,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43926,
    "c": 0.15897,
    "h": 319.3
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#762B88
secondary
#6DB35C
accent
#DB4C68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762B88

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

Preview Lab → · Contrast checker → · Palette generator →

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