#763197#763197

#763197 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.166 H 312.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#763197
RGBrgb(118, 49, 151)
HSLhsl(281, 51%, 39%)
HSVhsv(281, 68%, 59%)
CMYKcmyk(21.9%, 67.5%, 0%, 40.8%)
CIE-LABlab(34.57, 47.07, -43.14)
CIE-LCHlch(34.57, 63.85, 317.50°)
OKLaboklab(45.64% 0.1127 -0.1215)
OKLCHoklch(45.64% 0.166 312.8)
XYZxyz(14.1545, 8.2829, 30.1253)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763197 #529731
analogous
#433197 #763197 #973185
triadic
#763197 #977631 #319776
tetradic
#763197 #974331 #529731 #318597
square
#763197 #974331 #529731 #318597
split-complementary
#763197 #859731 #319743
monochromatic
#2E133B #522269 #763197 #9943C2 #B271D1

Accessibility & contrast

On white

7.90
#763197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#763197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763197
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763197#FFFFFF#000000##FFFFFF
##7631971.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#724560
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #763197;
/* rgb */ color: rgb(118, 49, 151);
/* oklch */ color: oklch(45.6% 0.166 312.8);
Tailwind
colors: {
  custom: {
    50: '#a16eb6',
    500: '#763197',
    950: '#000000',
  },
}
SCSS
$custom: #763197;
$custom-light: #a16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#763197",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 280.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.16572,
    "h": 312.8
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#763197
secondary
#84B96B
accent
#DA4D7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #763197

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

Preview Lab → · Contrast checker → · Palette generator →

#763197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva