#762E88#762E88

#762E88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.155 H 319.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#762E88
RGBrgb(118, 46, 136)
HSLhsl(288, 49%, 36%)
HSVhsv(288, 66%, 53%)
CMYKcmyk(13.2%, 66.2%, 0%, 46.7%)
CIE-LABlab(33.10, 45.26, -36.28)
CIE-LCHlch(33.10, 58.00, 321.28°)
OKLaboklab(44.28% 0.1168 -0.1014)
OKLCHoklch(44.28% 0.155 319)
XYZxyz(12.8916, 7.5837, 24.0725)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E88 #40882E
analogous
#492E88 #762E88 #882E6D
triadic
#762E88 #88762E #2E8876
tetradic
#762E88 #88492E #40882E #2E6D88
square
#762E88 #88492E #40882E #2E6D88
split-complementary
#762E88 #6D882E #2E8849
monochromatic
#270F2D #4E1F5A #762E88 #9E3DB6 #B765CB

Accessibility & contrast

On white

8.34
#762E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#762E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E88
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E88#FFFFFF#000000##FFFFFF
##762E881.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762e88;
/* rgb */ color: rgb(118, 46, 136);
/* oklch */ color: oklch(44.3% 0.155 319.0);
Tailwind
colors: {
  custom: {
    50: '#a06cab',
    500: '#762e88',
    950: '#000000',
  },
}
SCSS
$custom: #762e88;
$custom-light: #a06cab;
$custom-dark: #000000;
JSON
{
  "hex": "#762e88",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 288,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.15473,
    "h": 319
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#762E88
secondary
#70B260
accent
#D94F6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E88

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

Preview Lab → · Contrast checker → · Palette generator →

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