#764FEF#764FEF

#764FEF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.227 H 288.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#764FEF
RGBrgb(118, 79, 239)
HSLhsl(255, 83%, 62%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(50.6%, 66.9%, 0%, 6.3%)
CIE-LABlab(46.54, 54.33, -75.09)
CIE-LCHlch(46.54, 92.68, 305.89°)
OKLaboklab(56.27% 0.0702 -0.2155)
OKLCHoklch(56.27% 0.227 288)
XYZxyz(25.8426, 15.6743, 83.3084)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FEF #C8EF4F
analogous
#4F78EF #764FEF #C64FEF
triadic
#764FEF #EF764F #4FEF76
tetradic
#764FEF #EF4F78 #C8EF4F #4FEFC6
square
#764FEF #EF4F78 #C8EF4F #4FEFC6
split-complementary
#764FEF #EFC64F #78EF4F
monochromatic
#3810B3 #4A17EA #764FEF #A287F4 #CDBFF9

Accessibility & contrast

On white

5.08
#764FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #764FEF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FEF#FFFFFF#000000##FFFFFF
##764FEF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#497799
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764fef;
/* rgb */ color: rgb(118, 79, 239);
/* oklch */ color: oklch(56.3% 0.227 288.0);
Tailwind
colors: {
  custom: {
    50: '#a783f5',
    500: '#764fef',
    950: '#000000',
  },
}
SCSS
$custom: #764fef;
$custom-light: #a783f5;
$custom-dark: #000000;
JSON
{
  "hex": "#764fef",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 254.625,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.22666,
    "h": 288
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#764FEF
secondary
#DCEAB0
accent
#E006AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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