#764397#764397

#764397 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.138 H 310.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#764397
RGBrgb(118, 67, 151)
HSLhsl(276, 39%, 43%)
HSVhsv(276, 56%, 59%)
CMYKcmyk(21.9%, 55.6%, 0%, 40.8%)
CIE-LABlab(38.02, 37.73, -37.62)
CIE-LCHlch(38.02, 53.28, 315.08°)
OKLaboklab(48.16% 0.0893 -0.1055)
OKLCHoklch(48.16% 0.138 310.2)
XYZxyz(15.0632, 10.1005, 30.4282)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764397 #649743
analogous
#4C4397 #764397 #97438E
triadic
#764397 #977643 #439776
tetradic
#764397 #974C43 #649743 #438E97
square
#764397 #974C43 #649743 #438E97
split-complementary
#764397 #8E9743 #43974C
monochromatic
#341D42 #55306D #764397 #955FB8 #B18ACB

Accessibility & contrast

On white

6.95
#764397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#764397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764397
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764397#FFFFFF#000000##FFFFFF
##7643971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#725266
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #764397;
/* rgb */ color: rgb(118, 67, 151);
/* oklch */ color: oklch(48.2% 0.138 310.2);
Tailwind
colors: {
  custom: {
    50: '#a079b6',
    500: '#764397',
    950: '#000000',
  },
}
SCSS
$custom: #764397;
$custom-light: #a079b6;
$custom-dark: #000000;
JSON
{
  "hex": "#764397",
  "rgb": {
    "r": 118,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 276.429,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.13818,
    "h": 310.2
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#764397
secondary
#95B680
accent
#CE5987
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #764397

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

Preview Lab → · Contrast checker → · Palette generator →

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