#764CDE#764CDE

#764CDE is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.210 H 291.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#764CDE
RGBrgb(118, 76, 222)
HSLhsl(257, 69%, 58%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(46.8%, 65.8%, 0%, 12.9%)
CIE-LABlab(44.65, 51.22, -68.56)
CIE-LCHlch(44.65, 85.58, 306.76°)
OKLaboklab(54.5% 0.0753 -0.1963)
OKLCHoklch(54.5% 0.21 291)
XYZxyz(23.2368, 14.2935, 70.6277)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDE #B4DE4C
analogous
#4C6BDE #764CDE #BF4CDE
triadic
#764CDE #DE764C #4CDE76
tetradic
#764CDE #DE4C6B #B4DE4C #4CDEBF
square
#764CDE #DE4C6B #B4DE4C #4CDEBF
split-complementary
#764CDE #DEBF4C #6BDE4C
monochromatic
#3E1B94 #5425C8 #764CDE #9E80E8 #C5B3F1

Accessibility & contrast

On white

5.44
#764CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#764CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CDE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CDE#FFFFFF#000000##FFFFFF
##764CDE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#55708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764cde;
/* rgb */ color: rgb(118, 76, 222);
/* oklch */ color: oklch(54.5% 0.210 291.0);
Tailwind
colors: {
  custom: {
    50: '#a581e9',
    500: '#764cde',
    950: '#000000',
  },
}
SCSS
$custom: #764cde;
$custom-light: #a581e9;
$custom-dark: #000000;
JSON
{
  "hex": "#764cde",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 257.26,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.21029,
    "h": 291
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#764CDE
secondary
#CFE0A6
accent
#EC3CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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