#762D89#762D89

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

Color values

HEX#762D89
RGBrgb(118, 45, 137)
HSLhsl(288, 51%, 36%)
HSVhsv(288, 67%, 54%)
CMYKcmyk(13.9%, 67.2%, 0%, 46.3%)
CIE-LABlab(33.00, 45.93, -37.07)
CIE-LCHlch(33.00, 59.02, 321.10°)
OKLaboklab(44.22% 0.1181 -0.1037)
OKLCHoklch(44.22% 0.157 318.7)
XYZxyz(12.9244, 7.5350, 24.4357)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D89 #40892D
analogous
#482D89 #762D89 #892D6E
triadic
#762D89 #89762D #2D8976
tetradic
#762D89 #89482D #40892D #2D6E89
square
#762D89 #89482D #40892D #2D6E89
split-complementary
#762D89 #6E892D #2D8948
monochromatic
#270F2D #4E1E5B #762D89 #9E3CB7 #B764CC

Accessibility & contrast

On white

8.38
#762D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#762D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D89
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D89#FFFFFF#000000##FFFFFF
##762D891.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#763D57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762d89;
/* rgb */ color: rgb(118, 45, 137);
/* oklch */ color: oklch(44.2% 0.157 318.7);
Tailwind
colors: {
  custom: {
    50: '#a06cac',
    500: '#762d89',
    950: '#000000',
  },
}
SCSS
$custom: #762d89;
$custom-light: #a06cac;
$custom-dark: #000000;
JSON
{
  "hex": "#762d89",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 287.609,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.15715,
    "h": 318.7
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#762D89
secondary
#70B35F
accent
#DA4E6B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762D89

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

Preview Lab → · Contrast checker → · Palette generator →

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