#763897#763897

#763897 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.156 H 312.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#763897
RGBrgb(118, 56, 151)
HSLhsl(279, 46%, 41%)
HSVhsv(279, 63%, 59%)
CMYKcmyk(21.9%, 62.9%, 0%, 40.8%)
CIE-LABlab(35.82, 43.62, -41.13)
CIE-LCHlch(35.82, 59.96, 316.68°)
OKLaboklab(46.55% 0.104 -0.1157)
OKLCHoklch(46.55% 0.156 312)
XYZxyz(14.4703, 8.9146, 30.2306)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763897 #599738
analogous
#463897 #763897 #973888
triadic
#763897 #977638 #389776
tetradic
#763897 #974638 #599738 #388897
square
#763897 #974638 #599738 #388897
split-complementary
#763897 #889738 #389746
monochromatic
#30173E #53276A #763897 #974FBE #B17BCE

Accessibility & contrast

On white

7.55
#763897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#763897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763897
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763897#FFFFFF#000000##FFFFFF
##7638971.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#724A62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #763897;
/* rgb */ color: rgb(118, 56, 151);
/* oklch */ color: oklch(46.5% 0.156 312.0);
Tailwind
colors: {
  custom: {
    50: '#a072b6',
    500: '#763897',
    950: '#000000',
  },
}
SCSS
$custom: #763897;
$custom-light: #a072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#763897",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 279.158,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.15558,
    "h": 312
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#763897
secondary
#8BB773
accent
#D65280
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #763897

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

Preview Lab → · Contrast checker → · Palette generator →

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