#764CC3#764CC3

#764CC3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.178 H 295.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#764CC3
RGBrgb(118, 76, 195)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(39.5%, 61%, 0%, 23.5%)
CIE-LABlab(42.70, 43.88, -56.19)
CIE-LCHlch(42.70, 71.29, 307.99°)
OKLaboklab(52.48% 0.0778 -0.1599)
OKLCHoklch(52.48% 0.178 295.9)
XYZxyz(19.9034, 12.9602, 53.0721)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CC3 #99C34C
analogous
#4C5DC3 #764CC3 #B14CC3
triadic
#764CC3 #C3764C #4CC376
tetradic
#764CC3 #C34C5D #99C34C #4CC3B1
square
#764CC3 #C34C5D #99C34C #4CC3B1
split-complementary
#764CC3 #C3B14C #5DC34C
monochromatic
#3F256F #5A359D #764CC3 #997AD2 #BCA8E2

Accessibility & contrast

On white

5.85
#764CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#764CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CC3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CC3#FFFFFF#000000##FFFFFF
##764CC31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0E63C0
Tritanopia (blue-blind)
#636680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764cc3;
/* rgb */ color: rgb(118, 76, 195);
/* oklch */ color: oklch(52.5% 0.178 295.9);
Tailwind
colors: {
  custom: {
    50: '#a380d6',
    500: '#764cc3',
    950: '#000000',
  },
}
SCSS
$custom: #764cc3;
$custom-light: #a380d6;
$custom-dark: #000000;
JSON
{
  "hex": "#764cc3",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 261.176,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.17787,
    "h": 295.9
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#764CC3
secondary
#BDCF9C
accent
#D94EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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