#764CE0#764CE0

#764CE0 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.213 H 290.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#764CE0
RGBrgb(118, 76, 224)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 66%, 88%)
CMYKcmyk(47.3%, 66.1%, 0%, 12.2%)
CIE-LABlab(44.80, 51.77, -69.45)
CIE-LCHlch(44.80, 86.62, 306.70°)
OKLaboklab(54.66% 0.0751 -0.1989)
OKLCHoklch(54.66% 0.213 290.7)
XYZxyz(23.5064, 14.4014, 72.0478)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CE0 #B6E04C
analogous
#4C6CE0 #764CE0 #C04CE0
triadic
#764CE0 #E0764C #4CE076
tetradic
#764CE0 #E04C6C #B6E04C #4CE0C0
square
#764CE0 #E04C6C #B6E04C #4CE0C0
split-complementary
#764CE0 #E0C04C #6CE04C
monochromatic
#3E1A97 #5323CC #764CE0 #9E80E9 #C6B4F2

Accessibility & contrast

On white

5.41
#764CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#764CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CE0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CE0#FFFFFF#000000##FFFFFF
##764CE01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#547090
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ce0;
/* rgb */ color: rgb(118, 76, 224);
/* oklch */ color: oklch(54.7% 0.213 290.7);
Tailwind
colors: {
  custom: {
    50: '#a681eb',
    500: '#764ce0',
    950: '#000000',
  },
}
SCSS
$custom: #764ce0;
$custom-light: #a681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#764ce0",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 257.027,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.21265,
    "h": 290.7
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#764CE0
secondary
#D1E1A7
accent
#ED3BBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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