#762F88#762F88

#762F88 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.153 H 319.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#762F88
RGBrgb(118, 47, 136)
HSLhsl(288, 49%, 36%)
HSVhsv(288, 65%, 53%)
CMYKcmyk(13.2%, 65.4%, 0%, 46.7%)
CIE-LABlab(33.27, 44.79, -36.01)
CIE-LCHlch(33.27, 57.47, 321.20°)
OKLaboklab(44.4% 0.1156 -0.1006)
OKLCHoklch(44.4% 0.153 319)
XYZxyz(12.9311, 7.6627, 24.0857)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F88 #41882F
analogous
#492F88 #762F88 #882F6D
triadic
#762F88 #88762F #2F8876
tetradic
#762F88 #88492F #41882F #2F6D88
square
#762F88 #88492F #41882F #2F6D88
split-complementary
#762F88 #6D882F #2F8849
monochromatic
#27102D #4F1F5B #762F88 #9D3FB5 #B667CA

Accessibility & contrast

On white

8.29
#762F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#762F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F88
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F88#FFFFFF#000000##FFFFFF
##762F881.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#763E57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762f88;
/* rgb */ color: rgb(118, 47, 136);
/* oklch */ color: oklch(44.4% 0.153 319.0);
Tailwind
colors: {
  custom: {
    50: '#a06dab',
    500: '#762f88',
    950: '#000000',
  },
}
SCSS
$custom: #762f88;
$custom-light: #a06dab;
$custom-dark: #000000;
JSON
{
  "hex": "#762f88",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 287.865,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.15328,
    "h": 319
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#762F88
secondary
#72B161
accent
#D8506B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762F88

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

Preview Lab → · Contrast checker → · Palette generator →

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