#764DC9#764DC9

#764DC9 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.184 H 294.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#764DC9
RGBrgb(118, 77, 201)
HSLhsl(260, 53%, 55%)
HSVhsv(260, 62%, 79%)
CMYKcmyk(41.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(43.32, 44.95, -58.66)
CIE-LCHlch(43.32, 73.90, 307.46°)
OKLaboklab(53.06% 0.0763 -0.1672)
OKLCHoklch(53.06% 0.184 294.5)
XYZxyz(20.6649, 13.3759, 56.7400)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC9 #A0C94D
analogous
#4D62C9 #764DC9 #B44DC9
triadic
#764DC9 #C9764D #4DC976
tetradic
#764DC9 #C94D62 #A0C94D #4DC9B4
square
#764DC9 #C94D62 #A0C94D #4DC9B4
split-complementary
#764DC9 #C9B44D #62C94D
monochromatic
#402477 #5932A6 #764DC9 #9A7CD7 #BEABE5

Accessibility & contrast

On white

5.71
#764DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#764DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC9#FFFFFF#000000##FFFFFF
##764DC91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#606984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764dc9;
/* rgb */ color: rgb(118, 77, 201);
/* oklch */ color: oklch(53.1% 0.184 294.5);
Tailwind
colors: {
  custom: {
    50: '#a381da',
    500: '#764dc9',
    950: '#000000',
  },
}
SCSS
$custom: #764dc9;
$custom-light: #a381da;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc9",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 259.839,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.18383,
    "h": 294.5
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#764DC9
secondary
#C2D39F
accent
#DD4BAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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