#764BDA#764BDA

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

Color values

HEX#764BDA
RGBrgb(118, 75, 218)
HSLhsl(258, 66%, 57%)
HSVhsv(258, 66%, 85%)
CMYKcmyk(45.9%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.15, 50.65, -67.09)
CIE-LCHlch(44.15, 84.06, 307.06°)
OKLaboklab(54.05% 0.0768 -0.192)
OKLCHoklch(54.05% 0.207 291.8)
XYZxyz(22.6387, 13.9449, 67.8149)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BDA #AFDA4B
analogous
#4B67DA #764BDA #BE4BDA
triadic
#764BDA #DA764B #4BDA76
tetradic
#764BDA #DA4B67 #AFDA4B #4BDABE
square
#764BDA #DA4B67 #AFDA4B #4BDABE
split-complementary
#764BDA #DABE4B #67DA4B
monochromatic
#3F1D8E #5528C0 #764BDA #9D7EE4 #C3B1EF

Accessibility & contrast

On white

5.54
#764BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#764BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BDA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BDA#FFFFFF#000000##FFFFFF
##764BDA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#586E8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764bda;
/* rgb */ color: rgb(118, 75, 218);
/* oklch */ color: oklch(54.1% 0.207 291.8);
Tailwind
colors: {
  custom: {
    50: '#a580e6',
    500: '#764bda',
    950: '#000000',
  },
}
SCSS
$custom: #764bda;
$custom-light: #a580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#764bda",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 258.042,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.20681,
    "h": 291.8
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#764BDA
secondary
#CCDDA4
accent
#E93FB6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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