#762D95#762D95

#762D95 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.169 H 314.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#762D95
RGBrgb(118, 45, 149)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 58%)
CMYKcmyk(20.8%, 69.8%, 0%, 41.6%)
CIE-LABlab(33.77, 48.48, -43.20)
CIE-LCHlch(33.77, 64.93, 318.30°)
OKLaboklab(45.03% 0.1174 -0.1217)
OKLCHoklch(45.03% 0.169 314)
XYZxyz(13.8335, 7.8987, 29.2238)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D95 #4C952D
analogous
#422D95 #762D95 #952D80
triadic
#762D95 #95762D #2D9576
tetradic
#762D95 #95422D #4C952D #2D8095
square
#762D95 #95422D #4C952D #2D8095
split-complementary
#762D95 #80952D #2D9542
monochromatic
#2C1137 #511F66 #762D95 #9B3BC4 #B36AD2

Accessibility & contrast

On white

8.14
#762D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#762D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D95
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D95#FFFFFF#000000##FFFFFF
##762D951.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#73425D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762d95;
/* rgb */ color: rgb(118, 45, 149);
/* oklch */ color: oklch(45.0% 0.169 314.0);
Tailwind
colors: {
  custom: {
    50: '#a16cb5',
    500: '#762d95',
    950: '#000000',
  },
}
SCSS
$custom: #762d95;
$custom-light: #a16cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762d95",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 282.115,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.1691,
    "h": 314
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#762D95
secondary
#7EB965
accent
#DD4B76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762D95

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

Preview Lab → · Contrast checker → · Palette generator →

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