#765ED8#765ED8

#765ED8 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.179 H 288.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#765ED8
RGBrgb(118, 94, 216)
HSLhsl(252, 61%, 61%)
HSVhsv(252, 56%, 85%)
CMYKcmyk(45.4%, 56.5%, 0%, 15.3%)
CIE-LABlab(48.02, 39.47, -59.67)
CIE-LCHlch(48.02, 71.54, 303.48°)
OKLaboklab(56.83% 0.0566 -0.1702)
OKLCHoklch(56.83% 0.179 288.4)
XYZxyz(23.8650, 16.8139, 66.9404)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED8 #C0D85E
analogous
#5E83D8 #765ED8 #B35ED8
triadic
#765ED8 #D8765E #5ED876
tetradic
#765ED8 #D85E83 #C0D85E #5ED8B3
square
#765ED8 #D85E83 #C0D85E #5ED8B3
split-complementary
#765ED8 #D8B35E #83D85E
monochromatic
#3B2597 #4E31C8 #765ED8 #A08FE4 #CAC1F0

Accessibility & contrast

On white

4.81
#765ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#765ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED8#FFFFFF#000000##FFFFFF
##765ED81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#577992
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ed8;
/* rgb */ color: rgb(118, 94, 216);
/* oklch */ color: oklch(56.8% 0.179 288.4);
Tailwind
colors: {
  custom: {
    50: '#a48ce5',
    500: '#765ed8',
    950: '#000000',
  },
}
SCSS
$custom: #765ed8;
$custom-light: #a48ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed8",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 251.803,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.17935,
    "h": 288.4
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#765ED8
secondary
#D7E0B2
accent
#C91DA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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