#762D96#762D96

#762D96 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.170 H 313.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#762D96
RGBrgb(118, 45, 150)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 59%)
CMYKcmyk(21.3%, 70%, 0%, 41.2%)
CIE-LABlab(33.84, 48.69, -43.70)
CIE-LCHlch(33.84, 65.43, 318.09°)
OKLaboklab(45.1% 0.1173 -0.1231)
OKLCHoklch(45.1% 0.17 313.6)
XYZxyz(13.9137, 7.9308, 29.6461)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D96 #4D962D
analogous
#412D96 #762D96 #962D81
triadic
#762D96 #96762D #2D9676
tetradic
#762D96 #96412D #4D962D #2D8196
square
#762D96 #96412D #4D962D #2D8196
split-complementary
#762D96 #81962D #2D9641
monochromatic
#2C1138 #511F67 #762D96 #9B3CC4 #B36BD3

Accessibility & contrast

On white

8.12
#762D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#762D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D96
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D96#FFFFFF#000000##FFFFFF
##762D961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#73425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762d96;
/* rgb */ color: rgb(118, 45, 150);
/* oklch */ color: oklch(45.1% 0.170 313.6);
Tailwind
colors: {
  custom: {
    50: '#a16cb5',
    500: '#762d96',
    950: '#000000',
  },
}
SCSS
$custom: #762d96;
$custom-light: #a16cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762d96",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 281.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.1701,
    "h": 313.6
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#762D96
secondary
#7FB965
accent
#DD4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762D96

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

Preview Lab → · Contrast checker → · Palette generator →

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