#764BC0#764BC0

#764BC0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.176 H 296.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#764BC0
RGBrgb(118, 75, 192)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.5%, 60.9%, 0%, 24.7%)
CIE-LABlab(42.29, 43.64, -55.10)
CIE-LCHlch(42.29, 70.29, 308.38°)
OKLaboklab(52.11% 0.0791 -0.1568)
OKLCHoklch(52.11% 0.176 296.8)
XYZxyz(19.4993, 12.6891, 51.2809)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BC0 #95C04B
analogous
#4B5BC0 #764BC0 #B04BC0
triadic
#764BC0 #C0764B #4BC076
tetradic
#764BC0 #C04B5B #95C04B #4BC0B0
square
#764BC0 #C04B5B #95C04B #4BC0B0
split-complementary
#764BC0 #C0B04B #5BC04B
monochromatic
#3F256B #5A3598 #764BC0 #9978D0 #BBA6E0

Accessibility & contrast

On white

5.94
#764BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#764BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BC0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BC0#FFFFFF#000000##FFFFFF
##764BC01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#64657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764bc0;
/* rgb */ color: rgb(118, 75, 192);
/* oklch */ color: oklch(52.1% 0.176 296.8);
Tailwind
colors: {
  custom: {
    50: '#a27fd4',
    500: '#764bc0',
    950: '#000000',
  },
}
SCSS
$custom: #764bc0;
$custom-light: #a27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#764bc0",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 262.051,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.17562,
    "h": 296.8
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#764BC0
secondary
#BACD9A
accent
#D850A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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