#762D81#762D81

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

Color values

HEX#762D81
RGBrgb(118, 45, 129)
HSLhsl(292, 48%, 34%)
HSVhsv(292, 65%, 51%)
CMYKcmyk(8.5%, 65.1%, 0%, 49.4%)
CIE-LABlab(32.51, 44.30, -32.87)
CIE-LCHlch(32.51, 55.16, 323.42°)
OKLaboklab(43.72% 0.118 -0.0915)
OKLCHoklch(43.72% 0.149 322.2)
XYZxyz(12.3716, 7.3139, 21.5247)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D81 #38812D
analogous
#4C2D81 #762D81 #812D62
triadic
#762D81 #81762D #2D8176
tetradic
#762D81 #814C2D #38812D #2D6281
square
#762D81 #814C2D #38812D #2D6281
split-complementary
#762D81 #62812D #2D814C
monochromatic
#230D26 #4C1D54 #762D81 #A03DAE #BA61C8

Accessibility & contrast

On white

8.53
#762D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D81
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D81#FFFFFF#000000##FFFFFF
##762D811.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#384F7F
Tritanopia (blue-blind)
#783A53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762d81;
/* rgb */ color: rgb(118, 45, 129);
/* oklch */ color: oklch(43.7% 0.149 322.2);
Tailwind
colors: {
  custom: {
    50: '#a06ba6',
    500: '#762d81',
    950: '#000000',
  },
}
SCSS
$custom: #762d81;
$custom-light: #a06ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#762d81",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 292.143,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.14933,
    "h": 322.2
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#762D81
secondary
#66AE5C
accent
#D85062
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762D81

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

Preview Lab → · Contrast checker → · Palette generator →

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