#764FE3#764FE3

#764FE3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.213 H 289.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#764FE3
RGBrgb(118, 79, 227)
HSLhsl(256, 73%, 60%)
HSVhsv(256, 65%, 89%)
CMYKcmyk(48%, 65.2%, 0%, 11%)
CIE-LABlab(45.62, 50.99, -69.82)
CIE-LCHlch(45.62, 86.46, 306.14°)
OKLaboklab(55.32% 0.0718 -0.2001)
OKLCHoklch(55.32% 0.213 289.7)
XYZxyz(24.1284, 14.9886, 74.2799)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FE3 #BCE34F
analogous
#4F72E3 #764FE3 #C04FE3
triadic
#764FE3 #E3764F #4FE376
tetradic
#764FE3 #E34F72 #BCE34F #4FE3C0
square
#764FE3 #E34F72 #BCE34F #4FE3C0
split-complementary
#764FE3 #E3C04F #72E34F
monochromatic
#3C199E #5022D3 #764FE3 #9F84EB #C8B9F4

Accessibility & contrast

On white

5.25
#764FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#764FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FE3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FE3#FFFFFF#000000##FFFFFF
##764FE31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#527392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764fe3;
/* rgb */ color: rgb(118, 79, 227);
/* oklch */ color: oklch(55.3% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#a683ed',
    500: '#764fe3',
    950: '#000000',
  },
}
SCSS
$custom: #764fe3;
$custom-light: #a683ed;
$custom-dark: #000000;
JSON
{
  "hex": "#764fe3",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 255.811,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.21255,
    "h": 289.7
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#764FE3
secondary
#D4E3AA
accent
#EF39BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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