#764BC2#764BC2

#764BC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.178 H 296.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#764BC2
RGBrgb(118, 75, 194)
HSLhsl(262, 49%, 53%)
HSVhsv(262, 61%, 76%)
CMYKcmyk(39.2%, 61.3%, 0%, 23.9%)
CIE-LABlab(42.43, 44.17, -56.05)
CIE-LCHlch(42.43, 71.36, 308.24°)
OKLaboklab(52.26% 0.079 -0.1595)
OKLCHoklch(52.26% 0.178 296.4)
XYZxyz(19.7224, 12.7784, 52.4559)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BC2 #97C24B
analogous
#4B5BC2 #764BC2 #B24BC2
triadic
#764BC2 #C2764B #4BC276
tetradic
#764BC2 #C24B5B #97C24B #4BC2B2
square
#764BC2 #C24B5B #97C24B #4BC2B2
split-complementary
#764BC2 #C2B24B #5BC24B
monochromatic
#3F256D #5A359B #764BC2 #9979D1 #BCA6E1

Accessibility & contrast

On white

5.91
#764BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#764BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BC2#FFFFFF#000000##FFFFFF
##764BC21.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0D63BF
Tritanopia (blue-blind)
#63657F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764bc2;
/* rgb */ color: rgb(118, 75, 194);
/* oklch */ color: oklch(52.3% 0.178 296.4);
Tailwind
colors: {
  custom: {
    50: '#a37fd5',
    500: '#764bc2',
    950: '#000000',
  },
}
SCSS
$custom: #764bc2;
$custom-light: #a37fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#764bc2",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 261.681,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.17805,
    "h": 296.4
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#764BC2
secondary
#BCCE9B
accent
#D94FA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #764BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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