#764CDF#764CDF

#764CDF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.211 H 290.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#764CDF
RGBrgb(118, 76, 223)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(47.1%, 65.9%, 0%, 12.5%)
CIE-LABlab(44.73, 51.49, -69.00)
CIE-LCHlch(44.73, 86.10, 306.73°)
OKLaboklab(54.58% 0.0752 -0.1976)
OKLCHoklch(54.58% 0.211 290.8)
XYZxyz(23.3712, 14.3473, 71.3356)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CDF #B5DF4C
analogous
#4C6BDF #764CDF #BF4CDF
triadic
#764CDF #DF764C #4CDF76
tetradic
#764CDF #DF4C6B #B5DF4C #4CDFBF
square
#764CDF #DF4C6B #B5DF4C #4CDFBF
split-complementary
#764CDF #DFBF4C #6BDF4C
monochromatic
#3E1B96 #5324CA #764CDF #9E80E8 #C5B4F2

Accessibility & contrast

On white

5.43
#764CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#764CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CDF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CDF#FFFFFF#000000##FFFFFF
##764CDF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#55708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764cdf;
/* rgb */ color: rgb(118, 76, 223);
/* oklch */ color: oklch(54.6% 0.211 290.8);
Tailwind
colors: {
  custom: {
    50: '#a681ea',
    500: '#764cdf',
    950: '#000000',
  },
}
SCSS
$custom: #764cdf;
$custom-light: #a681ea;
$custom-dark: #000000;
JSON
{
  "hex": "#764cdf",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 257.143,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.21147,
    "h": 290.8
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#764CDF
secondary
#D0E0A6
accent
#EC3BBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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