#764ABC#764ABC

#764ABC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.172 H 297.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#764ABC
RGBrgb(118, 74, 188)
HSLhsl(263, 46%, 51%)
HSVhsv(263, 61%, 74%)
CMYKcmyk(37.2%, 60.6%, 0%, 26.3%)
CIE-LABlab(41.81, 43.13, -53.54)
CIE-LCHlch(41.81, 68.75, 308.85°)
OKLaboklab(51.68% 0.0805 -0.1522)
OKLCHoklch(51.68% 0.172 297.9)
XYZxyz(18.9948, 12.3797, 48.9560)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ABC #90BC4A
analogous
#4A57BC #764ABC #AF4ABC
triadic
#764ABC #BC764A #4ABC76
tetradic
#764ABC #BC4A57 #90BC4A #4ABCAF
square
#764ABC #BC4A57 #90BC4A #4ABCAF
split-complementary
#764ABC #BCAF4A #57BC4A
monochromatic
#3E2666 #5A3693 #764ABC #9877CD #BAA3DD

Accessibility & contrast

On white

6.04
#764ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#764ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ABC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ABC#FFFFFF#000000##FFFFFF
##764ABC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#66637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764abc;
/* rgb */ color: rgb(118, 74, 188);
/* oklch */ color: oklch(51.7% 0.172 297.9);
Tailwind
colors: {
  custom: {
    50: '#a27ed1',
    500: '#764abc',
    950: '#000000',
  },
}
SCSS
$custom: #764abc;
$custom-light: #a27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#764abc",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 263.158,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.17216,
    "h": 297.9
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#764ABC
secondary
#B7CA98
accent
#D652A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764ABC

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

Preview Lab → · Contrast checker → · Palette generator →

#764ABC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva