#764BCE#764BCE

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

Color values

HEX#764BCE
RGBrgb(118, 75, 206)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 64%, 81%)
CMYKcmyk(42.7%, 63.6%, 0%, 19.2%)
CIE-LABlab(43.27, 47.39, -61.63)
CIE-LCHlch(43.27, 77.75, 307.56°)
OKLaboklab(53.14% 0.0781 -0.176)
OKLCHoklch(53.14% 0.193 293.9)
XYZxyz(21.1249, 13.3394, 59.8423)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BCE #A3CE4B
analogous
#4B61CE #764BCE #B84BCE
triadic
#764BCE #CE764B #4BCE76
tetradic
#764BCE #CE4B61 #A3CE4B #4BCEB8
square
#764BCE #CE4B61 #A3CE4B #4BCEB8
split-complementary
#764BCE #CEB84B #61CE4B
monochromatic
#40227D #582FAD #764BCE #9B7BDB #BFABE8

Accessibility & contrast

On white

5.73
#764BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#764BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BCE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BCE#FFFFFF#000000##FFFFFF
##764BCE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#5E6986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764bce;
/* rgb */ color: rgb(118, 75, 206);
/* oklch */ color: oklch(53.1% 0.193 293.9);
Tailwind
colors: {
  custom: {
    50: '#a480de',
    500: '#764bce',
    950: '#000000',
  },
}
SCSS
$custom: #764bce;
$custom-light: #a480de;
$custom-dark: #000000;
JSON
{
  "hex": "#764bce",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 259.695,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.19255,
    "h": 293.9
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#764BCE
secondary
#C4D69F
accent
#E047AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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