#762F97#762F97

#762F97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.168 H 313.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#762F97
RGBrgb(118, 47, 151)
HSLhsl(281, 53%, 39%)
HSVhsv(281, 69%, 59%)
CMYKcmyk(21.9%, 68.9%, 0%, 40.8%)
CIE-LABlab(34.23, 48.00, -43.68)
CIE-LCHlch(34.23, 64.90, 317.70°)
OKLaboklab(45.4% 0.115 -0.1231)
OKLCHoklch(45.4% 0.168 313)
XYZxyz(14.0727, 8.1194, 30.0980)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F97 #50972F
analogous
#422F97 #762F97 #972F84
triadic
#762F97 #97762F #2F9776
tetradic
#762F97 #97422F #50972F #2F8497
square
#762F97 #97422F #50972F #2F8497
split-complementary
#762F97 #84972F #2F9742
monochromatic
#2D123A #522068 #762F97 #9A40C3 #B26ED2

Accessibility & contrast

On white

8.00
#762F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#762F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F97
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F97#FFFFFF#000000##FFFFFF
##762F971.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#73445F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762f97;
/* rgb */ color: rgb(118, 47, 151);
/* oklch */ color: oklch(45.4% 0.168 313.0);
Tailwind
colors: {
  custom: {
    50: '#a16db6',
    500: '#762f97',
    950: '#000000',
  },
}
SCSS
$custom: #762f97;
$custom-light: #a16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#762f97",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 280.962,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.16845,
    "h": 313
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#762F97
secondary
#82B968
accent
#DC4C7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762F97

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

Preview Lab → · Contrast checker → · Palette generator →

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