#764DD3#764DD3

#764DD3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.196 H 292.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#764DD3
RGBrgb(118, 77, 211)
HSLhsl(258, 60%, 56%)
HSVhsv(258, 64%, 83%)
CMYKcmyk(44.1%, 63.5%, 0%, 17.3%)
CIE-LABlab(44.03, 47.67, -63.27)
CIE-LCHlch(44.03, 79.22, 306.99°)
OKLaboklab(53.8% 0.0755 -0.1808)
OKLCHoklch(53.8% 0.196 292.7)
XYZxyz(21.8797, 13.8618, 63.1382)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DD3 #AAD34D
analogous
#4D67D3 #764DD3 #B94DD3
triadic
#764DD3 #D3764D #4DD376
tetradic
#764DD3 #D34D67 #AAD34D #4DD3B9
square
#764DD3 #D34D67 #AAD34D #4DD3B9
split-complementary
#764DD3 #D3B94D #67D34D
monochromatic
#3F2185 #572DB6 #764DD3 #9C7EDF #C2AFEB

Accessibility & contrast

On white

5.57
#764DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#764DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DD3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DD3#FFFFFF#000000##FFFFFF
##764DD31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5B6C89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764dd3;
/* rgb */ color: rgb(118, 77, 211);
/* oklch */ color: oklch(53.8% 0.196 292.7);
Tailwind
colors: {
  custom: {
    50: '#a481e1',
    500: '#764dd3',
    950: '#000000',
  },
}
SCSS
$custom: #764dd3;
$custom-light: #a481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#764dd3",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 258.358,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.19594,
    "h": 292.7
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#764DD3
secondary
#C9D9A2
accent
#E444B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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