#764097#764097

#764097 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.143 H 310.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#764097
RGBrgb(118, 64, 151)
HSLhsl(277, 40%, 42%)
HSVhsv(277, 58%, 59%)
CMYKcmyk(21.9%, 57.6%, 0%, 40.8%)
CIE-LABlab(37.40, 39.38, -38.61)
CIE-LCHlch(37.40, 55.16, 315.57°)
OKLaboklab(47.7% 0.0934 -0.1084)
OKLCHoklch(47.7% 0.143 310.8)
XYZxyz(14.8895, 9.7530, 30.3703)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764097 #619740
analogous
#4A4097 #764097 #97408D
triadic
#764097 #977640 #409776
tetradic
#764097 #974A40 #619740 #408D97
square
#764097 #974A40 #619740 #408D97
split-complementary
#764097 #8D9740 #40974A
monochromatic
#331C41 #542E6C #764097 #965BB9 #B186CC

Accessibility & contrast

On white

7.12
#764097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#764097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #764097
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764097#FFFFFF#000000##FFFFFF
##7640971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#724F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #764097;
/* rgb */ color: rgb(118, 64, 151);
/* oklch */ color: oklch(47.7% 0.143 310.8);
Tailwind
colors: {
  custom: {
    50: '#a077b6',
    500: '#764097',
    950: '#000000',
  },
}
SCSS
$custom: #764097;
$custom-light: #a077b6;
$custom-dark: #000000;
JSON
{
  "hex": "#764097",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 277.241,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.14308,
    "h": 310.8
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#764097
secondary
#92B67D
accent
#D05785
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #764097

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

Preview Lab → · Contrast checker → · Palette generator →

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