#762B87#762B87

#762B87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.158 H 319.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#762B87
RGBrgb(118, 43, 135)
HSLhsl(289, 52%, 35%)
HSVhsv(289, 68%, 53%)
CMYKcmyk(12.6%, 68.1%, 0%, 47.1%)
CIE-LABlab(32.54, 46.42, -36.55)
CIE-LCHlch(32.54, 59.08, 321.79°)
OKLaboklab(43.86% 0.1205 -0.1022)
OKLCHoklch(43.86% 0.158 319.7)
XYZxyz(12.7077, 7.3292, 23.6623)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B87 #3C872B
analogous
#482B87 #762B87 #872B6A
triadic
#762B87 #87762B #2B8776
tetradic
#762B87 #87482B #3C872B #2B6A87
square
#762B87 #87482B #3C872B #2B6A87
split-complementary
#762B87 #6A872B #2B8748
monochromatic
#250D2A #4D1C59 #762B87 #9F3AB5 #B860CC

Accessibility & contrast

On white

8.52
#762B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B87#FFFFFF#000000##FFFFFF
##762B871.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B478A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#763B55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762b87;
/* rgb */ color: rgb(118, 43, 135);
/* oklch */ color: oklch(43.9% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#a06baa',
    500: '#762b87',
    950: '#000000',
  },
}
SCSS
$custom: #762b87;
$custom-light: #a06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#762b87",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 288.913,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43861,
    "c": 0.158,
    "h": 319.7
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#762B87
secondary
#6CB25B
accent
#DB4D67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762B87

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

Preview Lab → · Contrast checker → · Palette generator →

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