#764FDA#764FDA

#764FDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.202 H 291.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#764FDA
RGBrgb(118, 79, 218)
HSLhsl(257, 65%, 58%)
HSVhsv(257, 64%, 85%)
CMYKcmyk(45.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(44.95, 48.50, -65.79)
CIE-LCHlch(44.95, 81.74, 306.40°)
OKLaboklab(54.63% 0.0728 -0.1882)
OKLCHoklch(54.63% 0.202 291.1)
XYZxyz(22.9185, 14.5047, 67.9082)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FDA #B3DA4F
analogous
#4F6DDA #764FDA #BC4FDA
triadic
#764FDA #DA764F #4FDA76
tetradic
#764FDA #DA4F6D #B3DA4F #4FDABC
square
#764FDA #DA4F6D #B3DA4F #4FDABC
split-complementary
#764FDA #DABC4F #6DDA4F
monochromatic
#3E1E90 #5429C3 #764FDA #9D82E5 #C5B4EF

Accessibility & contrast

On white

5.38
#764FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#764FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FDA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FDA#FFFFFF#000000##FFFFFF
##764FDA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#57708D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764fda;
/* rgb */ color: rgb(118, 79, 218);
/* oklch */ color: oklch(54.6% 0.202 291.1);
Tailwind
colors: {
  custom: {
    50: '#a582e6',
    500: '#764fda',
    950: '#000000',
  },
}
SCSS
$custom: #764fda;
$custom-light: #a582e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764fda",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 256.835,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.20179,
    "h": 291.1
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#764FDA
secondary
#CFDEA7
accent
#E840B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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