#762C97#762C97

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

Color values

HEX#762C97
RGBrgb(118, 44, 151)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 59%)
CMYKcmyk(21.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.75, 49.36, -44.46)
CIE-LCHlch(33.75, 66.42, 317.99°)
OKLaboklab(45.06% 0.1184 -0.1254)
OKLCHoklch(45.06% 0.172 313.4)
XYZxyz(13.9568, 7.8877, 30.0594)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C97 #4D972C
analogous
#402C97 #762C97 #972C82
triadic
#762C97 #97762C #2C9776
tetradic
#762C97 #97402C #4D972C #2C8297
square
#762C97 #97402C #4D972C #2C8297
split-complementary
#762C97 #82972C #2C9740
monochromatic
#2C1038 #511E68 #762C97 #9B3AC6 #B36AD4

Accessibility & contrast

On white

8.15
#762C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762C97
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C97#FFFFFF#000000##FFFFFF
##762C971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#73425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762c97;
/* rgb */ color: rgb(118, 44, 151);
/* oklch */ color: oklch(45.1% 0.172 313.4);
Tailwind
colors: {
  custom: {
    50: '#a16cb6',
    500: '#762c97',
    950: '#000000',
  },
}
SCSS
$custom: #762c97;
$custom-light: #a16cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#762c97",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 281.495,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.1724,
    "h": 313.4
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#762C97
secondary
#7FBA65
accent
#DE4A77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762C97

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

Preview Lab → · Contrast checker → · Palette generator →

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