#764FD9#764FD9

#764FD9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.5% C 0.201 H 291.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#764FD9
RGBrgb(118, 79, 217)
HSLhsl(257, 64%, 58%)
HSVhsv(257, 64%, 85%)
CMYKcmyk(45.6%, 63.6%, 0%, 14.9%)
CIE-LABlab(44.88, 48.23, -65.34)
CIE-LCHlch(44.88, 81.21, 306.43°)
OKLaboklab(54.55% 0.0729 -0.1869)
OKLCHoklch(54.55% 0.201 291.3)
XYZxyz(22.7881, 14.4525, 67.2211)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FD9 #B2D94F
analogous
#4F6DD9 #764FD9 #BB4FD9
triadic
#764FD9 #D9764F #4FD976
tetradic
#764FD9 #D94F6D #B2D94F #4FD9BB
square
#764FD9 #D94F6D #B2D94F #4FD9BB
split-complementary
#764FD9 #D9BB4F #6DD94F
monochromatic
#3E1F8F #542AC1 #764FD9 #9D81E4 #C4B4EF

Accessibility & contrast

On white

5.40
#764FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#764FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FD9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FD9#FFFFFF#000000##FFFFFF
##764FD91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#58708D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764fd9;
/* rgb */ color: rgb(118, 79, 217);
/* oklch */ color: oklch(54.5% 0.201 291.3);
Tailwind
colors: {
  custom: {
    50: '#a582e6',
    500: '#764fd9',
    950: '#000000',
  },
}
SCSS
$custom: #764fd9;
$custom-light: #a582e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764fd9",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 256.957,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.20059,
    "h": 291.3
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#764FD9
secondary
#CEDDA6
accent
#E740B8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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