#764DC3#764DC3

#764DC3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.176 H 295.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#764DC3
RGBrgb(118, 77, 195)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(39.5%, 60.5%, 0%, 23.5%)
CIE-LABlab(42.91, 43.33, -55.85)
CIE-LCHlch(42.91, 70.69, 307.81°)
OKLaboklab(52.63% 0.0767 -0.159)
OKLCHoklch(52.63% 0.176 295.7)
XYZxyz(19.9729, 13.0990, 53.0952)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC3 #9AC34D
analogous
#4D5FC3 #764DC3 #B14DC3
triadic
#764DC3 #C3764D #4DC376
tetradic
#764DC3 #C34D5F #9AC34D #4DC3B1
square
#764DC3 #C34D5F #9AC34D #4DC3B1
split-complementary
#764DC3 #C3B14D #5FC34D
monochromatic
#3F2670 #59359E #764DC3 #997BD2 #BCA9E2

Accessibility & contrast

On white

5.80
#764DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#764DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC3#FFFFFF#000000##FFFFFF
##764DC31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1264C0
Tritanopia (blue-blind)
#636781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764dc3;
/* rgb */ color: rgb(118, 77, 195);
/* oklch */ color: oklch(52.6% 0.176 295.7);
Tailwind
colors: {
  custom: {
    50: '#a381d6',
    500: '#764dc3',
    950: '#000000',
  },
}
SCSS
$custom: #764dc3;
$custom-light: #a381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc3",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 260.847,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.17648,
    "h": 295.7
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#764DC3
secondary
#BECF9D
accent
#D94FA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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