#764CF2#764CF2

#764CF2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.234 H 288.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#764CF2
RGBrgb(118, 76, 242)
HSLhsl(255, 86%, 62%)
HSVhsv(255, 69%, 95%)
CMYKcmyk(51.2%, 68.6%, 0%, 5.1%)
CIE-LABlab(46.22, 56.72, -77.31)
CIE-LCHlch(46.22, 95.88, 306.27°)
OKLaboklab(56.11% 0.0723 -0.222)
OKLCHoklch(56.11% 0.234 288)
XYZxyz(26.0780, 15.4300, 85.5914)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CF2 #C8F24C
analogous
#4C75F2 #764CF2 #C94CF2
triadic
#764CF2 #F2764C #4CF276
tetradic
#764CF2 #F24C75 #C8F24C #4CF2C9
square
#764CF2 #F24C75 #C8F24C #4CF2C9
split-complementary
#764CF2 #F2C94C #75F24C
monochromatic
#380DB6 #4A13EE #764CF2 #A285F6 #CDBEFA

Accessibility & contrast

On white

5.14
#764CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#764CF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CF2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CF2#FFFFFF#000000##FFFFFF
##764CF21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#477799
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764cf2;
/* rgb */ color: rgb(118, 76, 242);
/* oklch */ color: oklch(56.1% 0.234 288.0);
Tailwind
colors: {
  custom: {
    50: '#a881f8',
    500: '#764cf2',
    950: '#000000',
  },
}
SCSS
$custom: #764cf2;
$custom-light: #a881f8;
$custom-dark: #000000;
JSON
{
  "hex": "#764cf2",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 242
  },
  "hsl": {
    "h": 255.181,
    "s": 86.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.23352,
    "h": 288
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#764CF2
secondary
#DCEBAF
accent
#E303AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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