#764CED#764CED

#764CED is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.228 H 288.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#764CED
RGBrgb(118, 76, 237)
HSLhsl(256, 82%, 61%)
HSVhsv(256, 68%, 93%)
CMYKcmyk(50.2%, 67.9%, 0%, 7.1%)
CIE-LABlab(45.82, 55.34, -75.15)
CIE-LCHlch(45.82, 93.33, 306.37°)
OKLaboklab(55.7% 0.0732 -0.2157)
OKLCHoklch(55.7% 0.228 288.7)
XYZxyz(25.3373, 15.1337, 81.6904)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CED #C3ED4C
analogous
#4C73ED #764CED #C74CED
triadic
#764CED #ED764C #4CED76
tetradic
#764CED #ED4C73 #C3ED4C #4CEDC7
square
#764CED #ED4C73 #C3ED4C #4CEDC7
split-complementary
#764CED #EDC74C #73ED4C
monochromatic
#3A11AD #4D17E5 #764CED #A184F3 #CBBBF8

Accessibility & contrast

On white

5.21
#764CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#764CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CED#FFFFFF#000000##FFFFFF
##764CED1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#4B7597
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #764ced;
/* rgb */ color: rgb(118, 76, 237);
/* oklch */ color: oklch(55.7% 0.228 288.7);
Tailwind
colors: {
  custom: {
    50: '#a781f4',
    500: '#764ced',
    950: '#000000',
  },
}
SCSS
$custom: #764ced;
$custom-light: #a781f4;
$custom-dark: #000000;
JSON
{
  "hex": "#764ced",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 255.652,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.22778,
    "h": 288.7
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#764CED
secondary
#D9E8AC
accent
#DE07A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #764CED

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

Preview Lab → · Contrast checker → · Palette generator →

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