#764FA2#764FA2

#764FA2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.8% C 0.132 H 303.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#764FA2
RGBrgb(118, 79, 162)
HSLhsl(268, 34%, 47%)
HSVhsv(268, 51%, 64%)
CMYKcmyk(27.2%, 51.2%, 0%, 36.5%)
CIE-LABlab(41.30, 33.56, -39.01)
CIE-LCHlch(41.30, 51.46, 310.70°)
OKLaboklab(50.79% 0.0733 -0.1096)
OKLCHoklch(50.79% 0.132 303.8)
XYZxyz(16.7874, 12.0522, 35.6173)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FA2 #7BA24F
analogous
#4F51A2 #764FA2 #A04FA2
triadic
#764FA2 #A2764F #4FA276
tetradic
#764FA2 #A24F51 #7BA24F #4FA2A0
square
#764FA2 #A24F51 #7BA24F #4FA2A0
split-complementary
#764FA2 #A2A04F #51A24F
monochromatic
#3A2750 #583B79 #764FA2 #9573BB #B49CCF

Accessibility & contrast

On white

6.16
#764FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#764FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FA2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FA2#FFFFFF#000000##FFFFFF
##764FA21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#4061A0
Tritanopia (blue-blind)
#6E5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #764fa2;
/* rgb */ color: rgb(118, 79, 162);
/* oklch */ color: oklch(50.8% 0.132 303.8);
Tailwind
colors: {
  custom: {
    50: '#a081be',
    500: '#764fa2',
    950: '#000000',
  },
}
SCSS
$custom: #764fa2;
$custom-light: #a081be;
$custom-dark: #000000;
JSON
{
  "hex": "#764fa2",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 268.193,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.13183,
    "h": 303.8
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#764FA2
secondary
#A8BC91
accent
#CB5D97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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