#764FE6#764FE6

#764FE6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.216 H 289.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#764FE6
RGBrgb(118, 79, 230)
HSLhsl(255, 75%, 61%)
HSVhsv(255, 66%, 90%)
CMYKcmyk(48.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(45.85, 51.83, -71.15)
CIE-LCHlch(45.85, 88.03, 306.07°)
OKLaboklab(55.56% 0.0714 -0.204)
OKLCHoklch(55.56% 0.216 289.3)
XYZxyz(24.5460, 15.1557, 76.4796)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FE6 #BFE64F
analogous
#4F73E6 #764FE6 #C24FE6
triadic
#764FE6 #E6764F #4FE676
tetradic
#764FE6 #E64F73 #BFE64F #4FE6C2
square
#764FE6 #E64F73 #BFE64F #4FE6C2
split-complementary
#764FE6 #E6C24F #73E64F
monochromatic
#3B17A3 #4F1FD9 #764FE6 #A085EE #C9BAF5

Accessibility & contrast

On white

5.21
#764FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#764FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FE6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FE6#FFFFFF#000000##FFFFFF
##764FE61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#507494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #764fe6;
/* rgb */ color: rgb(118, 79, 230);
/* oklch */ color: oklch(55.6% 0.216 289.3);
Tailwind
colors: {
  custom: {
    50: '#a683ef',
    500: '#764fe6',
    950: '#000000',
  },
}
SCSS
$custom: #764fe6;
$custom-light: #a683ef;
$custom-dark: #000000;
JSON
{
  "hex": "#764fe6",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 255.497,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.2161,
    "h": 289.3
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#764FE6
secondary
#D6E5AC
accent
#D70EA3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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