#764FCB#764FCB

#764FCB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.184 H 293.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#764FCB
RGBrgb(118, 79, 203)
HSLhsl(259, 54%, 55%)
HSVhsv(259, 61%, 80%)
CMYKcmyk(41.9%, 61.1%, 0%, 20.4%)
CIE-LABlab(43.88, 44.38, -58.92)
CIE-LCHlch(43.88, 73.76, 306.99°)
OKLaboklab(53.51% 0.074 -0.168)
OKLCHoklch(53.51% 0.184 293.8)
XYZxyz(21.0438, 13.7548, 58.0345)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FCB #A4CB4F
analogous
#4F66CB #764FCB #B44FCB
triadic
#764FCB #CB764F #4FCB76
tetradic
#764FCB #CB4F66 #A4CB4F #4FCBB4
square
#764FCB #CB4F66 #A4CB4F #4FCBB4
split-complementary
#764FCB #CBB44F #66CB4F
monochromatic
#40247B #5832AA #764FCB #9B7ED9 #C0ADE7

Accessibility & contrast

On white

5.60
#764FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#764FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FCB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FCB#FFFFFF#000000##FFFFFF
##764FCB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#5F6B85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764fcb;
/* rgb */ color: rgb(118, 79, 203);
/* oklch */ color: oklch(53.5% 0.184 293.8);
Tailwind
colors: {
  custom: {
    50: '#a382dc',
    500: '#764fcb',
    950: '#000000',
  },
}
SCSS
$custom: #764fcb;
$custom-light: #a382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#764fcb",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 258.871,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.18355,
    "h": 293.8
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#764FCB
secondary
#C5D5A1
accent
#DE4AAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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