#764FDF#764FDF

#764FDF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.208 H 290.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#764FDF
RGBrgb(118, 79, 223)
HSLhsl(256, 69%, 59%)
HSVhsv(256, 65%, 87%)
CMYKcmyk(47.1%, 64.6%, 0%, 12.5%)
CIE-LABlab(45.32, 49.89, -68.04)
CIE-LCHlch(45.32, 84.37, 306.25°)
OKLaboklab(55.01% 0.0723 -0.1948)
OKLCHoklch(55.01% 0.208 290.3)
XYZxyz(23.5827, 14.7703, 71.4061)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FDF #B8DF4F
analogous
#4F70DF #764FDF #BE4FDF
triadic
#764FDF #DF764F #4FDF76
tetradic
#764FDF #DF4F70 #B8DF4F #4FDFBE
square
#764FDF #DF4F70 #B8DF4F #4FDFBE
split-complementary
#764FDF #DFBE4F #70DF4F
monochromatic
#3D1C98 #5225CC #764FDF #9E83E8 #C7B7F2

Accessibility & contrast

On white

5.31
#764FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#764FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FDF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FDF#FFFFFF#000000##FFFFFF
##764FDF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#547290
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764fdf;
/* rgb */ color: rgb(118, 79, 223);
/* oklch */ color: oklch(55.0% 0.208 290.3);
Tailwind
colors: {
  custom: {
    50: '#a582ea',
    500: '#764fdf',
    950: '#000000',
  },
}
SCSS
$custom: #764fdf;
$custom-light: #a582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#764fdf",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 256.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.20779,
    "h": 290.3
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#764FDF
secondary
#D2E1A9
accent
#EC3CBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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