#762D88#762D88

#762D88 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.156 H 319.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#762D88
RGBrgb(118, 45, 136)
HSLhsl(288, 50%, 35%)
HSVhsv(288, 67%, 53%)
CMYKcmyk(13.2%, 66.9%, 0%, 46.7%)
CIE-LABlab(32.93, 45.72, -36.55)
CIE-LCHlch(32.93, 58.53, 321.36°)
OKLaboklab(44.16% 0.1181 -0.1022)
OKLCHoklch(44.16% 0.156 319.1)
XYZxyz(12.8530, 7.5065, 24.0596)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D88 #3F882D
analogous
#482D88 #762D88 #882D6C
triadic
#762D88 #88762D #2D8876
tetradic
#762D88 #88482D #3F882D #2D6C88
square
#762D88 #88482D #3F882D #2D6C88
split-complementary
#762D88 #6C882D #2D8848
monochromatic
#260F2C #4E1E5A #762D88 #9E3CB6 #B764CC

Accessibility & contrast

On white

8.40
#762D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#762D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D88
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D88#FFFFFF#000000##FFFFFF
##762D881.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#763D56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762d88;
/* rgb */ color: rgb(118, 45, 136);
/* oklch */ color: oklch(44.2% 0.156 319.1);
Tailwind
colors: {
  custom: {
    50: '#a06cab',
    500: '#762d88',
    950: '#000000',
  },
}
SCSS
$custom: #762d88;
$custom-light: #a06cab;
$custom-dark: #000000;
JSON
{
  "hex": "#762d88",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 288.132,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.15616,
    "h": 319.1
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#762D88
secondary
#6FB25F
accent
#DA4E6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762D88

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

Preview Lab → · Contrast checker → · Palette generator →

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