#764BCD#764BCD

#764BCD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.191 H 294.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#764BCD
RGBrgb(118, 75, 205)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(42.4%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.20, 47.12, -61.17)
CIE-LCHlch(43.20, 77.22, 307.61°)
OKLaboklab(53.06% 0.0782 -0.1746)
OKLCHoklch(53.06% 0.191 294.1)
XYZxyz(21.0038, 13.2909, 59.2045)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BCD #A2CD4B
analogous
#4B61CD #764BCD #B74BCD
triadic
#764BCD #CD764B #4BCD76
tetradic
#764BCD #CD4B61 #A2CD4B #4BCDB7
square
#764BCD #CD4B61 #A2CD4B #4BCDB7
split-complementary
#764BCD #CDB74B #61CD4B
monochromatic
#40227B #5830AB #764BCD #9A7BDA #BFABE8

Accessibility & contrast

On white

5.74
#764BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#764BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BCD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BCD#FFFFFF#000000##FFFFFF
##764BCD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#5E6985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764bcd;
/* rgb */ color: rgb(118, 75, 205);
/* oklch */ color: oklch(53.1% 0.191 294.1);
Tailwind
colors: {
  custom: {
    50: '#a480dd',
    500: '#764bcd',
    950: '#000000',
  },
}
SCSS
$custom: #764bcd;
$custom-light: #a480dd;
$custom-dark: #000000;
JSON
{
  "hex": "#764bcd",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 259.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.19135,
    "h": 294.1
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#764BCD
secondary
#C3D59F
accent
#E048AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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