#765EC7#765EC7

#765EC7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.157 H 290.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#765EC7
RGBrgb(118, 94, 199)
HSLhsl(254, 48%, 57%)
HSVhsv(254, 53%, 78%)
CMYKcmyk(40.7%, 52.8%, 0%, 22%)
CIE-LABlab(46.95, 34.64, -51.67)
CIE-LCHlch(46.95, 62.21, 303.84°)
OKLaboklab(55.69% 0.0561 -0.1467)
OKLCHoklch(55.69% 0.157 290.9)
XYZxyz(21.7799, 15.9798, 55.9586)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EC7 #AFC75E
analogous
#5E7BC7 #765EC7 #AA5EC7
triadic
#765EC7 #C7765E #5EC776
tetradic
#765EC7 #C75E7B #AFC75E #5EC7AA
square
#765EC7 #C75E7B #AFC75E #5EC7AA
split-complementary
#765EC7 #C7AA5E #7BC75E
monochromatic
#3F2C7F #553CAC #765EC7 #9D8BD7 #C3B9E7

Accessibility & contrast

On white

5.00
#765EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#765EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EC7#FFFFFF#000000##FFFFFF
##765EC71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#336DC5
Tritanopia (blue-blind)
#607489
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765ec7;
/* rgb */ color: rgb(118, 94, 199);
/* oklch */ color: oklch(55.7% 0.157 290.9);
Tailwind
colors: {
  custom: {
    50: '#a28cd9',
    500: '#765ec7',
    950: '#000000',
  },
}
SCSS
$custom: #765ec7;
$custom-light: #a28cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#765ec7",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 253.714,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.15704,
    "h": 290.9
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#765EC7
secondary
#CCD6AB
accent
#D850B9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765EC7

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

Preview Lab → · Contrast checker → · Palette generator →

#765EC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva