#764EE9#764EE9

#764EE9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.221 H 289.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#764EE9
RGBrgb(118, 78, 233)
HSLhsl(255, 78%, 61%)
HSVhsv(255, 67%, 91%)
CMYKcmyk(49.4%, 66.5%, 0%, 8.6%)
CIE-LABlab(45.88, 53.19, -72.79)
CIE-LCHlch(45.88, 90.15, 306.16°)
OKLaboklab(55.65% 0.072 -0.2088)
OKLCHoklch(55.65% 0.221 289)
XYZxyz(24.8993, 15.1824, 78.6935)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE9 #C1E94E
analogous
#4E73E9 #764EE9 #C34EE9
triadic
#764EE9 #E9764E #4EE976
tetradic
#764EE9 #E94E73 #C1E94E #4EE9C3
square
#764EE9 #E94E73 #C1E94E #4EE9C3
split-complementary
#764EE9 #E9C34E #73E94E
monochromatic
#3B15A8 #4E1CDE #764EE9 #A084F0 #CABBF7

Accessibility & contrast

On white

5.20
#764EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#764EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE9#FFFFFF#000000##FFFFFF
##764EE91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#4E7595
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764ee9;
/* rgb */ color: rgb(118, 78, 233);
/* oklch */ color: oklch(55.7% 0.221 289.0);
Tailwind
colors: {
  custom: {
    50: '#a782f1',
    500: '#764ee9',
    950: '#000000',
  },
}
SCSS
$custom: #764ee9;
$custom-light: #a782f1;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee9",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 255.484,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.22082,
    "h": 289
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#764EE9
secondary
#D8E7AC
accent
#DA0BA5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #764EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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