#764DF4#764DF4

#764DF4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.235 H 287.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#764DF4
RGBrgb(118, 77, 244)
HSLhsl(255, 88%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(51.6%, 68.4%, 0%, 4.3%)
CIE-LABlab(46.56, 56.76, -77.86)
CIE-LCHlch(46.56, 96.35, 306.09°)
OKLaboklab(56.41% 0.0711 -0.2237)
OKLCHoklch(56.41% 0.235 287.6)
XYZxyz(26.4494, 15.6897, 87.2051)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DF4 #CBF44D
analogous
#4D77F4 #764DF4 #CA4DF4
triadic
#764DF4 #F4764D #4DF476
tetradic
#764DF4 #F44D77 #CBF44D #4DF4CA
square
#764DF4 #F44D77 #CBF44D #4DF4CA
split-complementary
#764DF4 #F4CA4D #77F44D
monochromatic
#370CBB #4A13F0 #764DF4 #A287F8 #CFC0FB

Accessibility & contrast

On white

5.07
#764DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#764DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DF4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DF4#FFFFFF#000000##FFFFFF
##764DF41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#45789B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764df4;
/* rgb */ color: rgb(118, 77, 244);
/* oklch */ color: oklch(56.4% 0.235 287.6);
Tailwind
colors: {
  custom: {
    50: '#a882f9',
    500: '#764df4',
    950: '#000000',
  },
}
SCSS
$custom: #764df4;
$custom-light: #a882f9;
$custom-dark: #000000;
JSON
{
  "hex": "#764df4",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 254.731,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.2347,
    "h": 287.6
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#764DF4
secondary
#DEECB0
accent
#E501AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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