#764FCA#764FCA

#764FCA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.182 H 293.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#764FCA
RGBrgb(118, 79, 202)
HSLhsl(259, 54%, 55%)
HSVhsv(259, 61%, 79%)
CMYKcmyk(41.6%, 60.9%, 0%, 20.8%)
CIE-LABlab(43.81, 44.11, -58.45)
CIE-LCHlch(43.81, 73.23, 307.04°)
OKLaboklab(53.44% 0.074 -0.1666)
OKLCHoklch(53.44% 0.182 293.9)
XYZxyz(20.9250, 13.7073, 57.4089)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FCA #A3CA4F
analogous
#4F66CA #764FCA #B34FCA
triadic
#764FCA #CA764F #4FCA76
tetradic
#764FCA #CA4F66 #A3CA4F #4FCAB3
square
#764FCA #CA4F66 #A3CA4F #4FCAB3
split-complementary
#764FCA #CAB34F #66CA4F
monochromatic
#40257A #5833A9 #764FCA #9B7ED8 #BFADE6

Accessibility & contrast

On white

5.61
#764FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#764FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FCA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FCA#FFFFFF#000000##FFFFFF
##764FCA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#606B85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764fca;
/* rgb */ color: rgb(118, 79, 202);
/* oklch */ color: oklch(53.4% 0.182 293.9);
Tailwind
colors: {
  custom: {
    50: '#a382db',
    500: '#764fca',
    950: '#000000',
  },
}
SCSS
$custom: #764fca;
$custom-light: #a382db;
$custom-dark: #000000;
JSON
{
  "hex": "#764fca",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 259.024,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.18231,
    "h": 293.9
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#764FCA
secondary
#C4D4A1
accent
#DD4BAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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