#764FD5#764FD5

#764FD5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.196 H 292.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#764FD5
RGBrgb(118, 79, 213)
HSLhsl(257, 61%, 57%)
HSVhsv(257, 63%, 84%)
CMYKcmyk(44.6%, 62.9%, 0%, 16.5%)
CIE-LABlab(44.59, 47.12, -63.52)
CIE-LCHlch(44.59, 79.09, 306.57°)
OKLaboklab(54.25% 0.0732 -0.1815)
OKLCHoklch(54.25% 0.196 292)
XYZxyz(22.2741, 14.2469, 64.5142)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FD5 #AED54F
analogous
#4F6BD5 #764FD5 #B94FD5
triadic
#764FD5 #D5764F #4FD576
tetradic
#764FD5 #D54F6B #AED54F #4FD5B9
square
#764FD5 #D54F6B #AED54F #4FD5B9
split-complementary
#764FD5 #D5B94F #6BD54F
monochromatic
#3F2189 #562CBA #764FD5 #9C80E1 #C3B2ED

Accessibility & contrast

On white

5.46
#764FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#764FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FD5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FD5#FFFFFF#000000##FFFFFF
##764FD51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#5A6E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764fd5;
/* rgb */ color: rgb(118, 79, 213);
/* oklch */ color: oklch(54.2% 0.196 292.0);
Tailwind
colors: {
  custom: {
    50: '#a482e3',
    500: '#764fd5',
    950: '#000000',
  },
}
SCSS
$custom: #764fd5;
$custom-light: #a482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#764fd5",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 257.463,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.19576,
    "h": 292
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#764FD5
secondary
#CBDBA5
accent
#E543B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #764FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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