#764CDA#764CDA

#764CDA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.206 H 291.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#764CDA
RGBrgb(118, 76, 218)
HSLhsl(258, 66%, 58%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(45.9%, 65.1%, 0%, 14.5%)
CIE-LABlab(44.35, 50.12, -66.77)
CIE-LCHlch(44.35, 83.49, 306.89°)
OKLaboklab(54.19% 0.0758 -0.1911)
OKLCHoklch(54.19% 0.206 291.6)
XYZxyz(22.7070, 14.0816, 67.8377)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDA #B0DA4C
analogous
#4C69DA #764CDA #BD4CDA
triadic
#764CDA #DA764C #4CDA76
tetradic
#764CDA #DA4C69 #B0DA4C #4CDABD
square
#764CDA #DA4C69 #B0DA4C #4CDABD
split-complementary
#764CDA #DABD4C #69DA4C
monochromatic
#3F1D8E #5528C1 #764CDA #9D7FE4 #C4B1EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764CDA#FFFFFF#000000##FFFFFF
##764CDA1.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)
#006BDE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#586E8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764cda;
/* rgb */ color: rgb(118, 76, 218);
/* oklch */ color: oklch(54.2% 0.206 291.6);
Tailwind
colors: {
  custom: {
    50: '#a580e6',
    500: '#764cda',
    950: '#000000',
  },
}
SCSS
$custom: #764cda;
$custom-light: #a580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764cda",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 257.746,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.20557,
    "h": 291.6
  },
  "luminance": 0.14082
}

Semantic roles & 50–950 ramp

primary
#764CDA
secondary
#CDDDA4
accent
#E93FB7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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