#764ABF#764ABF

#764ABF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.176 H 297.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#764ABF
RGBrgb(118, 74, 191)
HSLhsl(263, 48%, 52%)
HSVhsv(263, 61%, 75%)
CMYKcmyk(38.2%, 61.3%, 0%, 25.1%)
CIE-LABlab(42.02, 43.92, -54.97)
CIE-LCHlch(42.02, 70.36, 308.63°)
OKLaboklab(51.89% 0.0804 -0.1564)
OKLCHoklch(51.89% 0.176 297.2)
XYZxyz(19.3216, 12.5104, 50.6769)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ABF #93BF4A
analogous
#4A59BF #764ABF #B14ABF
triadic
#764ABF #BF764A #4ABF76
tetradic
#764ABF #BF4A59 #93BF4A #4ABFB1
square
#764ABF #BF4A59 #93BF4A #4ABFB1
split-complementary
#764ABF #BFB14A #59BF4A
monochromatic
#3F2569 #5A3597 #764ABF #9877CF #BAA4DF

Accessibility & contrast

On white

6.00
#764ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#764ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ABF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ABF#FFFFFF#000000##FFFFFF
##764ABF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1362BC
Tritanopia (blue-blind)
#65647D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764abf;
/* rgb */ color: rgb(118, 74, 191);
/* oklch */ color: oklch(51.9% 0.176 297.2);
Tailwind
colors: {
  custom: {
    50: '#a27fd3',
    500: '#764abf',
    950: '#000000',
  },
}
SCSS
$custom: #764abf;
$custom-light: #a27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#764abf",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 262.564,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.17581,
    "h": 297.2
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#764ABF
secondary
#B9CC99
accent
#D750A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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