#764DE6#764DE6

#764DE6 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.218 H 289.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#764DE6
RGBrgb(118, 77, 230)
HSLhsl(256, 75%, 60%)
HSVhsv(256, 67%, 90%)
CMYKcmyk(48.7%, 66.5%, 0%, 9.8%)
CIE-LABlab(45.46, 52.89, -71.79)
CIE-LCHlch(45.46, 89.16, 306.38°)
OKLaboklab(55.28% 0.0733 -0.2058)
OKLCHoklch(55.28% 0.218 289.6)
XYZxyz(24.4039, 14.8715, 76.4322)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DE6 #BDE64D
analogous
#4D71E6 #764DE6 #C24DE6
triadic
#764DE6 #E6764D #4DE676
tetradic
#764DE6 #E64D71 #BDE64D #4DE6C2
square
#764DE6 #E64D71 #BDE64D #4DE6C2
split-complementary
#764DE6 #E6C24D #71E64D
monochromatic
#3C17A2 #501ED8 #764DE6 #9F83EE #C9B8F5

Accessibility & contrast

On white

5.28
#764DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#764DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DE6#FFFFFF#000000##FFFFFF
##764DE61.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#507393
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764de6;
/* rgb */ color: rgb(118, 77, 230);
/* oklch */ color: oklch(55.3% 0.218 289.6);
Tailwind
colors: {
  custom: {
    50: '#a681ef',
    500: '#764de6',
    950: '#000000',
  },
}
SCSS
$custom: #764de6;
$custom-light: #a681ef;
$custom-dark: #000000;
JSON
{
  "hex": "#764de6",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 256.078,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.21848,
    "h": 289.6
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#764DE6
secondary
#D5E5AA
accent
#D80EA2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #764DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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