#764CE4#764CE4

#764CE4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.217 H 290.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#764CE4
RGBrgb(118, 76, 228)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(48.2%, 66.7%, 0%, 10.6%)
CIE-LABlab(45.11, 52.86, -71.22)
CIE-LCHlch(45.11, 88.69, 306.59°)
OKLaboklab(54.98% 0.0745 -0.2041)
OKLCHoklch(54.98% 0.217 290.1)
XYZxyz(24.0552, 14.6209, 74.9384)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CE4 #BAE44C
analogous
#4C6EE4 #764CE4 #C24CE4
triadic
#764CE4 #E4764C #4CE476
tetradic
#764CE4 #E44C6E #BAE44C #4CE4C2
square
#764CE4 #E44C6E #BAE44C #4CE4C2
split-complementary
#764CE4 #E4C24C #6EE44C
monochromatic
#3D189E #5120D3 #764CE4 #9F81EC #C7B6F4

Accessibility & contrast

On white

5.35
#764CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#764CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CE4#FFFFFF#000000##FFFFFF
##764CE41.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764ce4;
/* rgb */ color: rgb(118, 76, 228);
/* oklch */ color: oklch(55.0% 0.217 290.1);
Tailwind
colors: {
  custom: {
    50: '#a681ee',
    500: '#764ce4',
    950: '#000000',
  },
}
SCSS
$custom: #764ce4;
$custom-light: #a681ee;
$custom-dark: #000000;
JSON
{
  "hex": "#764ce4",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 256.579,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.21733,
    "h": 290.1
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#764CE4
secondary
#D3E3A8
accent
#F037BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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