#764FF4#764FF4

#764FF4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.232 H 287.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#764FF4
RGBrgb(118, 79, 244)
HSLhsl(254, 88%, 63%)
HSVhsv(254, 68%, 96%)
CMYKcmyk(51.6%, 67.6%, 0%, 4.3%)
CIE-LABlab(46.94, 55.72, -77.25)
CIE-LCHlch(46.94, 95.25, 305.80°)
OKLaboklab(56.68% 0.0694 -0.2219)
OKLCHoklch(56.68% 0.232 287.4)
XYZxyz(26.5915, 15.9739, 87.2525)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FF4 #CDF44F
analogous
#4F7AF4 #764FF4 #C84FF4
triadic
#764FF4 #F4764F #4FF476
tetradic
#764FF4 #F44F7A #CDF44F #4FF4C8
square
#764FF4 #F44F7A #CDF44F #4FF4C8
split-complementary
#764FF4 #F4C84F #7AF44F
monochromatic
#360CBD #4915F0 #764FF4 #A389F8 #D0C2FB

Accessibility & contrast

On white

5.01
#764FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#764FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FF4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FF4#FFFFFF#000000##FFFFFF
##764FF41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#45799B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #764ff4;
/* rgb */ color: rgb(118, 79, 244);
/* oklch */ color: oklch(56.7% 0.232 287.4);
Tailwind
colors: {
  custom: {
    50: '#a883f9',
    500: '#764ff4',
    950: '#000000',
  },
}
SCSS
$custom: #764ff4;
$custom-light: #a883f9;
$custom-dark: #000000;
JSON
{
  "hex": "#764ff4",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 254.182,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.23247,
    "h": 287.4
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#764FF4
secondary
#DFEDB2
accent
#E501AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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