#764CE5#764CE5

#764CE5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.218 H 289.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#764CE5
RGBrgb(118, 76, 229)
HSLhsl(256, 75%, 60%)
HSVhsv(256, 67%, 90%)
CMYKcmyk(48.5%, 66.8%, 0%, 10.2%)
CIE-LABlab(45.19, 53.14, -71.66)
CIE-LCHlch(45.19, 89.21, 306.56°)
OKLaboklab(55.06% 0.0744 -0.2054)
OKLCHoklch(55.06% 0.219 289.9)
XYZxyz(24.1945, 14.6766, 75.6716)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CE5 #BBE54C
analogous
#4C6EE5 #764CE5 #C34CE5
triadic
#764CE5 #E5764C #4CE576
tetradic
#764CE5 #E54C6E #BBE54C #4CE5C3
square
#764CE5 #E54C6E #BBE54C #4CE5C3
split-complementary
#764CE5 #E5C34C #6EE54C
monochromatic
#3D179F #511FD5 #764CE5 #9F81ED #C8B7F5

Accessibility & contrast

On white

5.34
#764CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#764CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CE5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CE5#FFFFFF#000000##FFFFFF
##764CE51.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#517292
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764ce5;
/* rgb */ color: rgb(118, 76, 229);
/* oklch */ color: oklch(55.1% 0.218 289.9);
Tailwind
colors: {
  custom: {
    50: '#a681ee',
    500: '#764ce5',
    950: '#000000',
  },
}
SCSS
$custom: #764ce5;
$custom-light: #a681ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764ce5",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 256.471,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55058,
    "c": 0.2185,
    "h": 289.9
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#764CE5
secondary
#D4E4A9
accent
#F137BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #764CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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