#764098#764098

#764098 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.144 H 310.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#764098
RGBrgb(118, 64, 152)
HSLhsl(277, 41%, 42%)
HSVhsv(277, 58%, 60%)
CMYKcmyk(22.4%, 57.9%, 0%, 40.4%)
CIE-LABlab(37.45, 39.62, -39.12)
CIE-LCHlch(37.45, 55.68, 315.36°)
OKLaboklab(47.76% 0.0935 -0.1099)
OKLCHoklch(47.76% 0.144 310.4)
XYZxyz(14.9710, 9.7856, 30.7998)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764098 #629840
analogous
#4A4098 #764098 #98408E
triadic
#764098 #987640 #409876
tetradic
#764098 #984A40 #629840 #408E98
square
#764098 #984A40 #629840 #408E98
split-complementary
#764098 #8E9840 #40984A
monochromatic
#331C42 #552E6D #764098 #955BBA #B186CC

Accessibility & contrast

On white

7.10
#764098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#764098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #764098
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764098#FFFFFF#000000##FFFFFF
##7640981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#725066
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #764098;
/* rgb */ color: rgb(118, 64, 152);
/* oklch */ color: oklch(47.8% 0.144 310.4);
Tailwind
colors: {
  custom: {
    50: '#a077b7',
    500: '#764098',
    950: '#000000',
  },
}
SCSS
$custom: #764098;
$custom-light: #a077b7;
$custom-dark: #000000;
JSON
{
  "hex": "#764098",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 276.818,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.14424,
    "h": 310.4
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#764098
secondary
#93B77D
accent
#D15786
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #764098

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

Preview Lab → · Contrast checker → · Palette generator →

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