#763D97#763D97

#763D97 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.148 H 311.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#763D97
RGBrgb(118, 61, 151)
HSLhsl(278, 42%, 42%)
HSVhsv(278, 60%, 59%)
CMYKcmyk(21.9%, 59.6%, 0%, 40.8%)
CIE-LABlab(36.79, 41.01, -39.58)
CIE-LCHlch(36.79, 56.99, 316.01°)
OKLaboklab(47.25% 0.0975 -0.1112)
OKLCHoklch(47.25% 0.148 311.2)
XYZxyz(14.7248, 9.4237, 30.3154)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763D97 #5E973D
analogous
#493D97 #763D97 #973D8B
triadic
#763D97 #97763D #3D9776
tetradic
#763D97 #97493D #5E973D #3D8B97
square
#763D97 #97493D #5E973D #3D8B97
split-complementary
#763D97 #8B973D #3D9749
monochromatic
#321A40 #542B6B #763D97 #9656BB #B182CC

Accessibility & contrast

On white

7.28
#763D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#763D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763D97
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763D97#FFFFFF#000000##FFFFFF
##763D971.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#724D64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #763d97;
/* rgb */ color: rgb(118, 61, 151);
/* oklch */ color: oklch(47.3% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#a075b6',
    500: '#763d97',
    950: '#000000',
  },
}
SCSS
$custom: #763d97;
$custom-light: #a075b6;
$custom-dark: #000000;
JSON
{
  "hex": "#763d97",
  "rgb": {
    "r": 118,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 278,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.14787,
    "h": 311.2
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#763D97
secondary
#90B779
accent
#D25683
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #763D97

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

Preview Lab → · Contrast checker → · Palette generator →

#763D97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva