#764BE5#764BE5

#764BE5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.220 H 290.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#764BE5
RGBrgb(118, 75, 229)
HSLhsl(257, 75%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(48.5%, 67.2%, 0%, 10.2%)
CIE-LABlab(45.00, 53.66, -71.97)
CIE-LCHlch(45.00, 89.77, 306.71°)
OKLaboklab(54.92% 0.0753 -0.2064)
OKLCHoklch(54.92% 0.22 290.1)
XYZxyz(24.1261, 14.5399, 75.6488)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE5 #BAE54B
analogous
#4B6DE5 #764BE5 #C34BE5
triadic
#764BE5 #E5764B #4BE576
tetradic
#764BE5 #E54B6D #BAE54B #4BE5C3
square
#764BE5 #E54B6D #BAE54B #4BE5C3
split-complementary
#764BE5 #E5C34B #6DE54B
monochromatic
#3D179F #511FD4 #764BE5 #9F80ED #C7B6F4

Accessibility & contrast

On white

5.37
#764BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#764BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE5#FFFFFF#000000##FFFFFF
##764BE51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764be5;
/* rgb */ color: rgb(118, 75, 229);
/* oklch */ color: oklch(54.9% 0.220 290.1);
Tailwind
colors: {
  custom: {
    50: '#a680ee',
    500: '#764be5',
    950: '#000000',
  },
}
SCSS
$custom: #764be5;
$custom-light: #a680ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764be5",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 256.753,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.21968,
    "h": 290.1
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#764BE5
secondary
#D3E4A8
accent
#F136BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #764BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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