#764698#764698

#764698 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.7% C 0.134 H 309.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#764698
RGBrgb(118, 70, 152)
HSLhsl(275, 37%, 44%)
HSVhsv(275, 54%, 60%)
CMYKcmyk(22.4%, 53.9%, 0%, 40.4%)
CIE-LABlab(38.72, 36.28, -37.11)
CIE-LCHlch(38.72, 51.89, 314.35°)
OKLaboklab(48.69% 0.0851 -0.104)
OKLCHoklch(48.69% 0.134 309.3)
XYZxyz(15.3278, 10.4991, 30.9187)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764698 #689846
analogous
#4D4698 #764698 #984691
triadic
#764698 #987646 #469876
tetradic
#764698 #984D46 #689846 #469198
square
#764698 #984D46 #689846 #469198
split-complementary
#764698 #919846 #46984D
monochromatic
#351F44 #55336E #764698 #9564B7 #B18ECB

Accessibility & contrast

On white

6.77
#764698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#764698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764698
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764698#FFFFFF#000000##FFFFFF
##7646981.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#715468
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #764698;
/* rgb */ color: rgb(118, 70, 152);
/* oklch */ color: oklch(48.7% 0.134 309.3);
Tailwind
colors: {
  custom: {
    50: '#a07bb7',
    500: '#764698',
    950: '#000000',
  },
}
SCSS
$custom: #764698;
$custom-light: #a07bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#764698",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 275.122,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.13439,
    "h": 309.3
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#764698
secondary
#99B684
accent
#CD5B8A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #764698

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

Preview Lab → · Contrast checker → · Palette generator →

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