#762C95#762C95

#762C95 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.170 H 314.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#762C95
RGBrgb(118, 44, 149)
HSLhsl(282, 54%, 38%)
HSVhsv(282, 70%, 58%)
CMYKcmyk(20.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(33.61, 48.92, -43.45)
CIE-LCHlch(33.61, 65.43, 318.39°)
OKLaboklab(44.92% 0.1185 -0.1224)
OKLCHoklch(44.92% 0.17 314.1)
XYZxyz(13.7958, 7.8233, 29.2113)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C95 #4B952C
analogous
#422C95 #762C95 #952C7F
triadic
#762C95 #95762C #2C9576
tetradic
#762C95 #95422C #4B952C #2C7F95
square
#762C95 #95422C #4B952C #2C7F95
split-complementary
#762C95 #7F952C #2C9542
monochromatic
#2B1037 #511E66 #762C95 #9B3AC4 #B369D3

Accessibility & contrast

On white

8.19
#762C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#762C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C95
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C95#FFFFFF#000000##FFFFFF
##762C951.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762c95;
/* rgb */ color: rgb(118, 44, 149);
/* oklch */ color: oklch(44.9% 0.170 314.1);
Tailwind
colors: {
  custom: {
    50: '#a16cb5',
    500: '#762c95',
    950: '#000000',
  },
}
SCSS
$custom: #762c95;
$custom-light: #a16cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762c95",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 282.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.17041,
    "h": 314.1
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#762C95
secondary
#7DB964
accent
#DE4A76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762C95

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

Preview Lab → · Contrast checker → · Palette generator →

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