#764CC8#764CC8

#764CC8 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.184 H 294.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#764CC8
RGBrgb(118, 76, 200)
HSLhsl(260, 53%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(41%, 62%, 0%, 21.6%)
CIE-LABlab(43.05, 45.23, -58.53)
CIE-LCHlch(43.05, 73.97, 307.70°)
OKLaboklab(52.84% 0.0775 -0.1668)
OKLCHoklch(52.84% 0.184 294.9)
XYZxyz(20.4782, 13.1901, 56.0994)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC8 #9EC84C
analogous
#4C60C8 #764CC8 #B44CC8
triadic
#764CC8 #C8764C #4CC876
tetradic
#764CC8 #C84C60 #9EC84C #4CC8B4
square
#764CC8 #C84C60 #9EC84C #4CC8B4
split-complementary
#764CC8 #C8B44C #60C84C
monochromatic
#402475 #5932A4 #764CC8 #9A7BD6 #BEAAE5

Accessibility & contrast

On white

5.77
#764CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#764CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC8#FFFFFF#000000##FFFFFF
##764CC81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#616883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764cc8;
/* rgb */ color: rgb(118, 76, 200);
/* oklch */ color: oklch(52.8% 0.184 294.9);
Tailwind
colors: {
  custom: {
    50: '#a380d9',
    500: '#764cc8',
    950: '#000000',
  },
}
SCSS
$custom: #764cc8;
$custom-light: #a380d9;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc8",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 260.323,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.18397,
    "h": 294.9
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#764CC8
secondary
#C0D29E
accent
#DC4BAB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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