#764FD2#764FD2

#764FD2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.192 H 292.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#764FD2
RGBrgb(118, 79, 210)
HSLhsl(258, 59%, 57%)
HSVhsv(258, 62%, 82%)
CMYKcmyk(43.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(44.37, 46.30, -62.15)
CIE-LCHlch(44.37, 77.50, 306.68°)
OKLaboklab(54.02% 0.0735 -0.1775)
OKLCHoklch(54.02% 0.192 292.5)
XYZxyz(21.8969, 14.0960, 62.5274)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FD2 #ABD24F
analogous
#4F6AD2 #764FD2 #B84FD2
triadic
#764FD2 #D2764F #4FD276
tetradic
#764FD2 #D24F6A #ABD24F #4FD2B8
square
#764FD2 #D24F6A #ABD24F #4FD2B8
split-complementary
#764FD2 #D2B84F #6AD24F
monochromatic
#3F2285 #572EB5 #764FD2 #9C80DE #C2B0EB

Accessibility & contrast

On white

5.50
#764FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#764FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FD2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FD2#FFFFFF#000000##FFFFFF
##764FD21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5C6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764fd2;
/* rgb */ color: rgb(118, 79, 210);
/* oklch */ color: oklch(54.0% 0.192 292.5);
Tailwind
colors: {
  custom: {
    50: '#a482e1',
    500: '#764fd2',
    950: '#000000',
  },
}
SCSS
$custom: #764fd2;
$custom-light: #a482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764fd2",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 257.863,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.19211,
    "h": 292.5
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#764FD2
secondary
#C9D9A4
accent
#E245B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #764FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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