#764EC2#764EC2

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

Color values

HEX#764EC2
RGBrgb(118, 78, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 60%, 76%)
CMYKcmyk(39.2%, 59.8%, 0%, 23.9%)
CIE-LABlab(43.06, 42.50, -55.04)
CIE-LCHlch(43.06, 69.54, 307.68°)
OKLaboklab(52.72% 0.0755 -0.1566)
OKLCHoklch(52.72% 0.174 295.7)
XYZxyz(19.9307, 13.1950, 52.5253)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EC2 #9AC24E
analogous
#4E60C2 #764EC2 #B04EC2
triadic
#764EC2 #C2764E #4EC276
tetradic
#764EC2 #C24E60 #9AC24E #4EC2B0
square
#764EC2 #C24E60 #9AC24E #4EC2B0
split-complementary
#764EC2 #C2B04E #60C24E
monochromatic
#3F266F #59369D #764EC2 #997CD2 #BCA9E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764EC2#FFFFFF#000000##FFFFFF
##764EC21.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)
#0066C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#636780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764ec2;
/* rgb */ color: rgb(118, 78, 194);
/* oklch */ color: oklch(52.7% 0.174 295.7);
Tailwind
colors: {
  custom: {
    50: '#a281d5',
    500: '#764ec2',
    950: '#000000',
  },
}
SCSS
$custom: #764ec2;
$custom-light: #a281d5;
$custom-dark: #000000;
JSON
{
  "hex": "#764ec2",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 260.69,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.17383,
    "h": 295.7
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#764EC2
secondary
#BECF9D
accent
#D850A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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