#764FCF#764FCF

#764FCF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.188 H 293.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#764FCF
RGBrgb(118, 79, 207)
HSLhsl(258, 57%, 56%)
HSVhsv(258, 62%, 81%)
CMYKcmyk(43%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.16, 45.47, -60.77)
CIE-LCHlch(44.16, 75.90, 306.81°)
OKLaboklab(53.8% 0.0737 -0.1734)
OKLCHoklch(53.8% 0.188 293)
XYZxyz(21.5266, 13.9479, 60.5774)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FCF #A8CF4F
analogous
#4F68CF #764FCF #B64FCF
triadic
#764FCF #CF764F #4FCF76
tetradic
#764FCF #CF4F68 #A8CF4F #4FCFB6
square
#764FCF #CF4F68 #A8CF4F #4FCFB6
split-complementary
#764FCF #CFB64F #68CF4F
monochromatic
#402381 #5730B1 #764FCF #9B7FDC #C1AFE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764FCF#FFFFFF#000000##FFFFFF
##764FCF1.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)
#006AD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#5D6C88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764fcf;
/* rgb */ color: rgb(118, 79, 207);
/* oklch */ color: oklch(53.8% 0.188 293.0);
Tailwind
colors: {
  custom: {
    50: '#a482de',
    500: '#764fcf',
    950: '#000000',
  },
}
SCSS
$custom: #764fcf;
$custom-light: #a482de;
$custom-dark: #000000;
JSON
{
  "hex": "#764fcf",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 258.281,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.18845,
    "h": 293
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#764FCF
secondary
#C7D7A2
accent
#E047B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #764FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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