#764AC0#764AC0

#764AC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.177 H 297.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#764AC0
RGBrgb(118, 74, 192)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.5%, 61.5%, 0%, 24.7%)
CIE-LABlab(42.08, 44.19, -55.44)
CIE-LCHlch(42.08, 70.90, 308.56°)
OKLaboklab(51.96% 0.0803 -0.1578)
OKLCHoklch(51.96% 0.177 297)
XYZxyz(19.4320, 12.5546, 51.2584)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764AC0 #94C04A
analogous
#4A59C0 #764AC0 #B14AC0
triadic
#764AC0 #C0764A #4AC076
tetradic
#764AC0 #C04A59 #94C04A #4AC0B1
square
#764AC0 #C04A59 #94C04A #4AC0B1
split-complementary
#764AC0 #C0B14A #59C04A
monochromatic
#3F256B #5A3598 #764AC0 #9877D0 #BBA5E0

Accessibility & contrast

On white

5.98
#764AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#764AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764AC0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764AC0#FFFFFF#000000##FFFFFF
##764AC01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#64647E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764ac0;
/* rgb */ color: rgb(118, 74, 192);
/* oklch */ color: oklch(52.0% 0.177 297.0);
Tailwind
colors: {
  custom: {
    50: '#a27fd4',
    500: '#764ac0',
    950: '#000000',
  },
}
SCSS
$custom: #764ac0;
$custom-light: #a27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#764ac0",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 262.373,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.17702,
    "h": 297
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#764AC0
secondary
#B9CD99
accent
#D850A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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