#764DC8#764DC8

#764DC8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.183 H 294.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#764DC8
RGBrgb(118, 77, 200)
HSLhsl(260, 53%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(41%, 61.5%, 0%, 21.6%)
CIE-LABlab(43.25, 44.68, -58.19)
CIE-LCHlch(43.25, 73.37, 307.51°)
OKLaboklab(52.99% 0.0764 -0.1659)
OKLCHoklch(52.99% 0.183 294.7)
XYZxyz(20.5477, 13.3290, 56.1225)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC8 #9FC84D
analogous
#4D62C8 #764DC8 #B44DC8
triadic
#764DC8 #C8764D #4DC876
tetradic
#764DC8 #C84D62 #9FC84D #4DC8B4
square
#764DC8 #C84D62 #9FC84D #4DC8B4
split-complementary
#764DC8 #C8B44D #62C84D
monochromatic
#402476 #5933A5 #764DC8 #9A7CD6 #BEABE5

Accessibility & contrast

On white

5.73
#764DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#764DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC8#FFFFFF#000000##FFFFFF
##764DC81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #764dc8;
/* rgb */ color: rgb(118, 77, 200);
/* oklch */ color: oklch(53.0% 0.183 294.7);
Tailwind
colors: {
  custom: {
    50: '#a381d9',
    500: '#764dc8',
    950: '#000000',
  },
}
SCSS
$custom: #764dc8;
$custom-light: #a381d9;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc8",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 260,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.18261,
    "h": 294.7
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#764DC8
secondary
#C1D29E
accent
#DC4CAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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