#762B95#762B95

#762B95 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.172 H 314.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#762B95
RGBrgb(118, 43, 149)
HSLhsl(282, 55%, 38%)
HSVhsv(282, 71%, 58%)
CMYKcmyk(20.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(33.46, 49.36, -43.70)
CIE-LCHlch(33.46, 65.93, 318.48°)
OKLaboklab(44.81% 0.1197 -0.1231)
OKLCHoklch(44.81% 0.172 314.2)
XYZxyz(13.7590, 7.7497, 29.1990)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B95 #4A952B
analogous
#412B95 #762B95 #952B7F
triadic
#762B95 #95762B #2B9576
tetradic
#762B95 #95412B #4A952B #2B7F95
square
#762B95 #95412B #4A952B #2B7F95
split-complementary
#762B95 #7F952B #2B9541
monochromatic
#2B1036 #501D66 #762B95 #9C39C4 #B467D3

Accessibility & contrast

On white

8.24
#762B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#762B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B95
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B95#FFFFFF#000000##FFFFFF
##762B951.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762b95;
/* rgb */ color: rgb(118, 43, 149);
/* oklch */ color: oklch(44.8% 0.172 314.2);
Tailwind
colors: {
  custom: {
    50: '#a16bb5',
    500: '#762b95',
    950: '#000000',
  },
}
SCSS
$custom: #762b95;
$custom-light: #a16bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762b95",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 282.453,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.1717,
    "h": 314.2
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#762B95
secondary
#7CBA62
accent
#DF4975
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762B95

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

Preview Lab → · Contrast checker → · Palette generator →

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