#764CF0#764CF0

#764CF0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.231 H 288.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#764CF0
RGBrgb(118, 76, 240)
HSLhsl(255, 85%, 62%)
HSVhsv(255, 68%, 94%)
CMYKcmyk(50.8%, 68.3%, 0%, 5.9%)
CIE-LABlab(46.06, 56.17, -76.45)
CIE-LCHlch(46.06, 94.86, 306.31°)
OKLaboklab(55.95% 0.0727 -0.2195)
OKLCHoklch(55.95% 0.231 288.3)
XYZxyz(25.7792, 15.3105, 84.0181)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CF0 #C6F04C
analogous
#4C74F0 #764CF0 #C84CF0
triadic
#764CF0 #F0764C #4CF076
tetradic
#764CF0 #F04C74 #C6F04C #4CF0C8
square
#764CF0 #F04C74 #C6F04C #4CF0C8
split-complementary
#764CF0 #F0C84C #74F04C
monochromatic
#390FB3 #4B14EB #764CF0 #A184F5 #CCBDF9

Accessibility & contrast

On white

5.17
#764CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#764CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CF0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CF0#FFFFFF#000000##FFFFFF
##764CF01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0069ED
Tritanopia (blue-blind)
#497698
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764cf0;
/* rgb */ color: rgb(118, 76, 240);
/* oklch */ color: oklch(55.9% 0.231 288.3);
Tailwind
colors: {
  custom: {
    50: '#a881f6',
    500: '#764cf0',
    950: '#000000',
  },
}
SCSS
$custom: #764cf0;
$custom-light: #a881f6;
$custom-dark: #000000;
JSON
{
  "hex": "#764cf0",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 255.366,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.23122,
    "h": 288.3
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#764CF0
secondary
#DBEAAE
accent
#E104A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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