#764FD8#764FD8

#764FD8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.199 H 291.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#764FD8
RGBrgb(118, 79, 216)
HSLhsl(257, 64%, 58%)
HSVhsv(257, 63%, 85%)
CMYKcmyk(45.4%, 63.4%, 0%, 15.3%)
CIE-LABlab(44.80, 47.95, -64.89)
CIE-LCHlch(44.80, 80.68, 306.46°)
OKLaboklab(54.47% 0.073 -0.1855)
OKLCHoklch(54.47% 0.199 291.5)
XYZxyz(22.6584, 14.4006, 66.5382)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FD8 #B1D84F
analogous
#4F6DD8 #764FD8 #BA4FD8
triadic
#764FD8 #D8764F #4FD876
tetradic
#764FD8 #D84F6D #B1D84F #4FD8BA
square
#764FD8 #D84F6D #B1D84F #4FD8BA
split-complementary
#764FD8 #D8BA4F #6DD84F
monochromatic
#3F1F8D #552ABF #764FD8 #9D81E3 #C4B3EE

Accessibility & contrast

On white

5.41
#764FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#764FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FD8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FD8#FFFFFF#000000##FFFFFF
##764FD81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#586F8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764fd8;
/* rgb */ color: rgb(118, 79, 216);
/* oklch */ color: oklch(54.5% 0.199 291.5);
Tailwind
colors: {
  custom: {
    50: '#a582e5',
    500: '#764fd8',
    950: '#000000',
  },
}
SCSS
$custom: #764fd8;
$custom-light: #a582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#764fd8",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 257.08,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.19938,
    "h": 291.5
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#764FD8
secondary
#CDDDA6
accent
#E741B8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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