#764CE1#764CE1

#764CE1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.214 H 290.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#764CE1
RGBrgb(118, 76, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 66%, 88%)
CMYKcmyk(47.6%, 66.2%, 0%, 11.8%)
CIE-LABlab(44.88, 52.04, -69.89)
CIE-LCHlch(44.88, 87.14, 306.67°)
OKLaboklab(54.74% 0.075 -0.2003)
OKLCHoklch(54.74% 0.214 290.5)
XYZxyz(23.6424, 14.4558, 72.7641)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CE1 #B7E14C
analogous
#4C6DE1 #764CE1 #C14CE1
triadic
#764CE1 #E1764C #4CE176
tetradic
#764CE1 #E14C6D #B7E14C #4CE1C1
square
#764CE1 #E14C6D #B7E14C #4CE1C1
split-complementary
#764CE1 #E1C14C #6DE14C
monochromatic
#3E1A99 #5322CD #764CE1 #9E80EA #C6B5F3

Accessibility & contrast

On white

5.40
#764CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#764CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CE1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CE1#FFFFFF#000000##FFFFFF
##764CE11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#537190
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ce1;
/* rgb */ color: rgb(118, 76, 225);
/* oklch */ color: oklch(54.7% 0.214 290.5);
Tailwind
colors: {
  custom: {
    50: '#a681eb',
    500: '#764ce1',
    950: '#000000',
  },
}
SCSS
$custom: #764ce1;
$custom-light: #a681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#764ce1",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 256.913,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.21383,
    "h": 290.5
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#764CE1
secondary
#D1E2A7
accent
#EE3ABB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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