#762B85#762B85

#762B85 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.156 H 320.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#762B85
RGBrgb(118, 43, 133)
HSLhsl(290, 51%, 35%)
HSVhsv(290, 68%, 52%)
CMYKcmyk(11.3%, 67.7%, 0%, 47.8%)
CIE-LABlab(32.42, 46.02, -35.50)
CIE-LCHlch(32.42, 58.12, 322.35°)
OKLaboklab(43.73% 0.1205 -0.0991)
OKLCHoklch(43.73% 0.156 320.6)
XYZxyz(12.5682, 7.2734, 22.9276)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B85 #3A852B
analogous
#492B85 #762B85 #852B67
triadic
#762B85 #85762B #2B8576
tetradic
#762B85 #85492B #3A852B #2B6785
square
#762B85 #85492B #3A852B #2B6785
split-complementary
#762B85 #67852B #2B8549
monochromatic
#240D29 #4D1C57 #762B85 #9F3AB3 #B95FCB

Accessibility & contrast

On white

8.56
#762B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B85
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B85#FFFFFF#000000##FFFFFF
##762B851.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#773A54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762b85;
/* rgb */ color: rgb(118, 43, 133);
/* oklch */ color: oklch(43.7% 0.156 320.6);
Tailwind
colors: {
  custom: {
    50: '#a06aa9',
    500: '#762b85',
    950: '#000000',
  },
}
SCSS
$custom: #762b85;
$custom-light: #a06aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#762b85",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 290,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.15606,
    "h": 320.6
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#762B85
secondary
#69B15B
accent
#DB4D65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762B85

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

Preview Lab → · Contrast checker → · Palette generator →

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