#764EF0#764EF0

#764EF0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.229 H 288.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#764EF0
RGBrgb(118, 78, 240)
HSLhsl(255, 84%, 62%)
HSVhsv(255, 68%, 94%)
CMYKcmyk(50.8%, 67.5%, 0%, 5.9%)
CIE-LABlab(46.43, 55.13, -75.83)
CIE-LCHlch(46.43, 93.76, 306.02°)
OKLaboklab(56.22% 0.0709 -0.2177)
OKLCHoklch(56.22% 0.229 288)
XYZxyz(25.9192, 15.5904, 84.0647)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EF0 #C8F04E
analogous
#4E77F0 #764EF0 #C74EF0
triadic
#764EF0 #F0764E #4EF076
tetradic
#764EF0 #F04E77 #C8F04E #4EF0C7
square
#764EF0 #F04E77 #C8F04E #4EF0C7
split-complementary
#764EF0 #F0C74E #77F04E
monochromatic
#380FB4 #4A16EB #764EF0 #A286F5 #CDBFFA

Accessibility & contrast

On white

5.10
#764EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#764EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EF0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EF0#FFFFFF#000000##FFFFFF
##764EF01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#497799
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764ef0;
/* rgb */ color: rgb(118, 78, 240);
/* oklch */ color: oklch(56.2% 0.229 288.0);
Tailwind
colors: {
  custom: {
    50: '#a882f6',
    500: '#764ef0',
    950: '#000000',
  },
}
SCSS
$custom: #764ef0;
$custom-light: #a882f6;
$custom-dark: #000000;
JSON
{
  "hex": "#764ef0",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 240
  },
  "hsl": {
    "h": 254.815,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.22896,
    "h": 288
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#764EF0
secondary
#DCEAAF
accent
#E105AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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