#764DCF#764DCF

#764DCF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.191 H 293.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#764DCF
RGBrgb(118, 77, 207)
HSLhsl(259, 58%, 56%)
HSVhsv(259, 63%, 81%)
CMYKcmyk(43%, 62.8%, 0%, 18.8%)
CIE-LABlab(43.75, 46.58, -61.44)
CIE-LCHlch(43.75, 77.10, 307.17°)
OKLaboklab(53.5% 0.0759 -0.1754)
OKLCHoklch(53.5% 0.191 293.4)
XYZxyz(21.3845, 13.6637, 60.5300)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DCF #A6CF4D
analogous
#4D65CF #764DCF #B74DCF
triadic
#764DCF #CF764D #4DCF76
tetradic
#764DCF #CF4D65 #A6CF4D #4DCFB7
square
#764DCF #CF4D65 #A6CF4D #4DCFB7
split-complementary
#764DCF #CFB74D #65CF4D
monochromatic
#40227F #582FAF #764DCF #9B7DDC #C0ADE9

Accessibility & contrast

On white

5.63
#764DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#764DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DCF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DCF#FFFFFF#000000##FFFFFF
##764DCF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#5D6B87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764dcf;
/* rgb */ color: rgb(118, 77, 207);
/* oklch */ color: oklch(53.5% 0.191 293.4);
Tailwind
colors: {
  custom: {
    50: '#a481de',
    500: '#764dcf',
    950: '#000000',
  },
}
SCSS
$custom: #764dcf;
$custom-light: #a481de;
$custom-dark: #000000;
JSON
{
  "hex": "#764dcf",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 258.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.19111,
    "h": 293.4
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#764DCF
secondary
#C6D7A1
accent
#E147B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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