#762E87#762E87

#762E87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.154 H 319.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#762E87
RGBrgb(118, 46, 135)
HSLhsl(289, 49%, 35%)
HSVhsv(289, 66%, 53%)
CMYKcmyk(12.6%, 65.9%, 0%, 47.1%)
CIE-LABlab(33.04, 45.05, -35.76)
CIE-LCHlch(33.04, 57.52, 321.56°)
OKLaboklab(44.22% 0.1169 -0.0999)
OKLCHoklch(44.22% 0.154 319.5)
XYZxyz(12.8208, 7.5554, 23.7000)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E87 #3F872E
analogous
#492E87 #762E87 #872E6B
triadic
#762E87 #87762E #2E8776
tetradic
#762E87 #87492E #3F872E #2E6B87
square
#762E87 #87492E #3F872E #2E6B87
split-complementary
#762E87 #6B872E #2E8749
monochromatic
#260F2C #4E1E59 #762E87 #9E3EB5 #B765CA

Accessibility & contrast

On white

8.36
#762E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762E87
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E87#FFFFFF#000000##FFFFFF
##762E871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#763D56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762e87;
/* rgb */ color: rgb(118, 46, 135);
/* oklch */ color: oklch(44.2% 0.154 319.5);
Tailwind
colors: {
  custom: {
    50: '#a06caa',
    500: '#762e87',
    950: '#000000',
  },
}
SCSS
$custom: #762e87;
$custom-light: #a06caa;
$custom-dark: #000000;
JSON
{
  "hex": "#762e87",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 288.539,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.15374,
    "h": 319.5
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#762E87
secondary
#6FB160
accent
#D94F69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E87

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

Preview Lab → · Contrast checker → · Palette generator →

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