#764ADB#764ADB

#764ADB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.209 H 291.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#764ADB
RGBrgb(118, 74, 219)
HSLhsl(258, 67%, 57%)
HSVhsv(258, 66%, 86%)
CMYKcmyk(46.1%, 66.2%, 0%, 14.1%)
CIE-LABlab(44.04, 51.46, -67.85)
CIE-LCHlch(44.04, 85.15, 307.18°)
OKLaboklab(53.99% 0.0777 -0.1942)
OKLCHoklch(53.99% 0.209 291.8)
XYZxyz(22.7026, 13.8628, 68.4837)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764ADB #AFDB4A
analogous
#4A67DB #764ADB #BF4ADB
triadic
#764ADB #DB764A #4ADB76
tetradic
#764ADB #DB4A67 #AFDB4A #4ADBBF
square
#764ADB #DB4A67 #AFDB4A #4ADBBF
split-complementary
#764ADB #DBBF4A #67DB4A
monochromatic
#3F1C8E #5526C1 #764ADB #9D7DE5 #C3B0EF

Accessibility & contrast

On white

5.57
#764ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#764ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764ADB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764ADB#FFFFFF#000000##FFFFFF
##764ADB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#576D8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764adb;
/* rgb */ color: rgb(118, 74, 219);
/* oklch */ color: oklch(54.0% 0.209 291.8);
Tailwind
colors: {
  custom: {
    50: '#a57fe7',
    500: '#764adb',
    950: '#000000',
  },
}
SCSS
$custom: #764adb;
$custom-light: #a57fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#764adb",
  "rgb": {
    "r": 118,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 258.207,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.20921,
    "h": 291.8
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#764ADB
secondary
#CCDEA3
accent
#EA3EB6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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