#764BC1#764BC1

#764BC1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.177 H 296.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#764BC1
RGBrgb(118, 75, 193)
HSLhsl(262, 49%, 53%)
HSVhsv(262, 61%, 76%)
CMYKcmyk(38.9%, 61.1%, 0%, 24.3%)
CIE-LABlab(42.36, 43.90, -55.58)
CIE-LCHlch(42.36, 70.83, 308.31°)
OKLaboklab(52.19% 0.0791 -0.1582)
OKLCHoklch(52.19% 0.177 296.6)
XYZxyz(19.6105, 12.7336, 51.8664)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BC1 #96C14B
analogous
#4B5BC1 #764BC1 #B14BC1
triadic
#764BC1 #C1764B #4BC176
tetradic
#764BC1 #C14B5B #96C14B #4BC1B1
square
#764BC1 #C14B5B #96C14B #4BC1B1
split-complementary
#764BC1 #C1B14B #5BC14B
monochromatic
#3F256C #5A359A #764BC1 #9979D1 #BBA6E0

Accessibility & contrast

On white

5.92
#764BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#764BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BC1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BC1#FFFFFF#000000##FFFFFF
##764BC11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#1162BE
Tritanopia (blue-blind)
#64657F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764bc1;
/* rgb */ color: rgb(118, 75, 193);
/* oklch */ color: oklch(52.2% 0.177 296.6);
Tailwind
colors: {
  custom: {
    50: '#a27fd4',
    500: '#764bc1',
    950: '#000000',
  },
}
SCSS
$custom: #764bc1;
$custom-light: #a27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#764bc1",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 261.864,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.17684,
    "h": 296.6
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#764BC1
secondary
#BBCE9A
accent
#D84FA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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