#764FE8#764FE8

#764FE8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.218 H 289.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#764FE8
RGBrgb(118, 79, 232)
HSLhsl(255, 77%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(49.1%, 65.9%, 0%, 9%)
CIE-LABlab(46.00, 52.38, -72.03)
CIE-LCHlch(46.00, 89.07, 306.03°)
OKLaboklab(55.71% 0.0712 -0.2065)
OKLCHoklch(55.71% 0.218 289)
XYZxyz(24.8285, 15.2686, 77.9672)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FE8 #C1E84F
analogous
#4F74E8 #764FE8 #C24FE8
triadic
#764FE8 #E8764F #4FE876
tetradic
#764FE8 #E84F74 #C1E84F #4FE8C2
square
#764FE8 #E84F74 #C1E84F #4FE8C2
split-complementary
#764FE8 #E8C24F #74E84F
monochromatic
#3B16A7 #4E1DDD #764FE8 #A085EF #CABBF6

Accessibility & contrast

On white

5.18
#764FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#764FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FE8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FE8#FFFFFF#000000##FFFFFF
##764FE81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#4F7595
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764fe8;
/* rgb */ color: rgb(118, 79, 232);
/* oklch */ color: oklch(55.7% 0.218 289.0);
Tailwind
colors: {
  custom: {
    50: '#a783f0',
    500: '#764fe8',
    950: '#000000',
  },
}
SCSS
$custom: #764fe8;
$custom-light: #a783f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764fe8",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 255.294,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55713,
    "c": 0.21846,
    "h": 289
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#764FE8
secondary
#D8E6AD
accent
#D90CA5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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