#764FE5#764FE5

#764FE5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.215 H 289.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#764FE5
RGBrgb(118, 79, 229)
HSLhsl(256, 74%, 60%)
HSVhsv(256, 66%, 90%)
CMYKcmyk(48.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(45.77, 51.55, -70.71)
CIE-LCHlch(45.77, 87.51, 306.09°)
OKLaboklab(55.48% 0.0715 -0.2027)
OKLCHoklch(55.48% 0.215 289.4)
XYZxyz(24.4060, 15.0996, 75.7421)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FE5 #BEE54F
analogous
#4F73E5 #764FE5 #C14FE5
triadic
#764FE5 #E5764F #4FE576
tetradic
#764FE5 #E54F73 #BEE54F #4FE5C1
square
#764FE5 #E54F73 #BEE54F #4FE5C1
split-complementary
#764FE5 #E5C14F #73E54F
monochromatic
#3C18A2 #4F20D7 #764FE5 #A084ED #C9BAF5

Accessibility & contrast

On white

5.22
#764FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#764FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FE5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FE5#FFFFFF#000000##FFFFFF
##764FE51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#517493
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764fe5;
/* rgb */ color: rgb(118, 79, 229);
/* oklch */ color: oklch(55.5% 0.215 289.4);
Tailwind
colors: {
  custom: {
    50: '#a683ee',
    500: '#764fe5',
    950: '#000000',
  },
}
SCSS
$custom: #764fe5;
$custom-light: #a683ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764fe5",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 255.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.21492,
    "h": 289.4
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#764FE5
secondary
#D6E5AB
accent
#D60FA3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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