#764EF3#764EF3

#764EF3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.232 H 287.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#764EF3
RGBrgb(118, 78, 243)
HSLhsl(255, 87%, 63%)
HSVhsv(255, 68%, 95%)
CMYKcmyk(51.4%, 67.9%, 0%, 4.7%)
CIE-LABlab(46.67, 55.97, -77.13)
CIE-LCHlch(46.67, 95.29, 305.97°)
OKLaboklab(56.46% 0.0704 -0.2215)
OKLCHoklch(56.46% 0.232 287.6)
XYZxyz(26.3685, 15.7701, 86.4312)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EF3 #CBF34E
analogous
#4E79F3 #764EF3 #C84EF3
triadic
#764EF3 #F3764E #4EF376
tetradic
#764EF3 #F34E79 #CBF34E #4EF3C8
square
#764EF3 #F34E79 #CBF34E #4EF3C8
split-complementary
#764EF3 #F3C84E #79F34E
monochromatic
#370DBA #4A15EF #764EF3 #A287F7 #CFC1FB

Accessibility & contrast

On white

5.06
#764EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#764EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EF3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EF3#FFFFFF#000000##FFFFFF
##764EF31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#46789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #764ef3;
/* rgb */ color: rgb(118, 78, 243);
/* oklch */ color: oklch(56.5% 0.232 287.6);
Tailwind
colors: {
  custom: {
    50: '#a882f8',
    500: '#764ef3',
    950: '#000000',
  },
}
SCSS
$custom: #764ef3;
$custom-light: #a882f8;
$custom-dark: #000000;
JSON
{
  "hex": "#764ef3",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 243
  },
  "hsl": {
    "h": 254.545,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.23244,
    "h": 287.6
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#764EF3
secondary
#DEECB1
accent
#E402AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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