#764CF7#764CF7

#764CF7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.239 H 287.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#764CF7
RGBrgb(118, 76, 247)
HSLhsl(255, 91%, 63%)
HSVhsv(255, 69%, 97%)
CMYKcmyk(52.2%, 69.2%, 0%, 3.1%)
CIE-LABlab(46.62, 58.10, -79.45)
CIE-LCHlch(46.62, 98.42, 306.18°)
OKLaboklab(56.53% 0.0714 -0.2283)
OKLCHoklch(56.53% 0.239 287.4)
XYZxyz(26.8392, 15.7345, 89.6005)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CF7 #CDF74C
analogous
#4C77F7 #764CF7 #CC4CF7
triadic
#764CF7 #F7764C #4CF776
tetradic
#764CF7 #F74C77 #CDF74C #4CF7CC
square
#764CF7 #F74C77 #CDF74C #4CF7CC
split-complementary
#764CF7 #F7CC4C #77F74C
monochromatic
#3609C0 #4911F4 #764CF7 #A387FA #D0C1FC

Accessibility & contrast

On white

5.06
#764CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#764CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CF7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CF7#FFFFFF#000000##FFFFFF
##764CF71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#43799C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764cf7;
/* rgb */ color: rgb(118, 76, 247);
/* oklch */ color: oklch(56.5% 0.239 287.4);
Tailwind
colors: {
  custom: {
    50: '#a981fb',
    500: '#764cf7',
    950: '#000000',
  },
}
SCSS
$custom: #764cf7;
$custom-light: #a981fb;
$custom-dark: #000000;
JSON
{
  "hex": "#764cf7",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 254.737,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.23923,
    "h": 287.4
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#764CF7
secondary
#DFEEB1
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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