#764CA2#764CA2

#764CA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.137 H 304.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#764CA2
RGBrgb(118, 76, 162)
HSLhsl(269, 36%, 47%)
HSVhsv(269, 53%, 64%)
CMYKcmyk(27.2%, 53.1%, 0%, 36.5%)
CIE-LABlab(40.62, 35.30, -40.09)
CIE-LCHlch(40.62, 53.42, 311.36°)
OKLaboklab(50.28% 0.0775 -0.1127)
OKLCHoklch(50.28% 0.137 304.5)
XYZxyz(16.5758, 11.6291, 35.5468)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CA2 #78A24C
analogous
#4C4DA2 #764CA2 #A14CA2
triadic
#764CA2 #A2764C #4CA276
tetradic
#764CA2 #A24C4D #78A24C #4CA2A1
square
#764CA2 #A24C4D #78A24C #4CA2A1
split-complementary
#764CA2 #A2A14C #4DA24C
monochromatic
#39254F #583878 #764CA2 #9570BC #B499CF

Accessibility & contrast

On white

6.31
#764CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#764CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CA2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CA2#FFFFFF#000000##FFFFFF
##764CA21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#3D60A0
Tritanopia (blue-blind)
#6E5C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #764ca2;
/* rgb */ color: rgb(118, 76, 162);
/* oklch */ color: oklch(50.3% 0.137 304.5);
Tailwind
colors: {
  custom: {
    50: '#a07fbe',
    500: '#764ca2',
    950: '#000000',
  },
}
SCSS
$custom: #764ca2;
$custom-light: #a07fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#764ca2",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 269.302,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.13679,
    "h": 304.5
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#764CA2
secondary
#A5BC8E
accent
#CC5C95
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #764CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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