#764ED8#764ED8

#764ED8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.3% C 0.201 H 291.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#764ED8
RGBrgb(118, 78, 216)
HSLhsl(257, 64%, 58%)
HSVhsv(257, 64%, 85%)
CMYKcmyk(45.4%, 63.9%, 0%, 15.3%)
CIE-LABlab(44.60, 48.49, -65.22)
CIE-LCHlch(44.60, 81.27, 306.63°)
OKLaboklab(54.33% 0.074 -0.1865)
OKLCHoklch(54.33% 0.201 291.6)
XYZxyz(22.5868, 14.2574, 66.5143)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ED8 #B0D84E
analogous
#4E6BD8 #764ED8 #BB4ED8
triadic
#764ED8 #D8764E #4ED876
tetradic
#764ED8 #D84E6B #B0D84E #4ED8BB
square
#764ED8 #D84E6B #B0D84E #4ED8BB
split-complementary
#764ED8 #D8BB4E #6BD84E
monochromatic
#3F1F8D #552ABF #764ED8 #9D80E3 #C4B2EE

Accessibility & contrast

On white

5.45
#764ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#764ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ED8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ED8#FFFFFF#000000##FFFFFF
##764ED81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#596F8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764ed8;
/* rgb */ color: rgb(118, 78, 216);
/* oklch */ color: oklch(54.3% 0.201 291.6);
Tailwind
colors: {
  custom: {
    50: '#a582e5',
    500: '#764ed8',
    950: '#000000',
  },
}
SCSS
$custom: #764ed8;
$custom-light: #a582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#764ed8",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 257.391,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.20067,
    "h": 291.6
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#764ED8
secondary
#CDDDA5
accent
#E741B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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