#765ED5#765ED5

#765ED5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.175 H 288.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#765ED5
RGBrgb(118, 94, 213)
HSLhsl(252, 59%, 60%)
HSVhsv(252, 56%, 84%)
CMYKcmyk(44.6%, 55.9%, 0%, 16.5%)
CIE-LABlab(47.83, 38.61, -58.28)
CIE-LCHlch(47.83, 69.91, 303.52°)
OKLaboklab(56.62% 0.0566 -0.1661)
OKLCHoklch(56.62% 0.175 288.8)
XYZxyz(23.4808, 16.6602, 64.9164)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED5 #BDD55E
analogous
#5E81D5 #765ED5 #B25ED5
triadic
#765ED5 #D5765E #5ED576
tetradic
#765ED5 #D55E81 #BDD55E #5ED5B2
square
#765ED5 #D55E81 #BDD55E #5ED5B2
split-complementary
#765ED5 #D5B25E #81D55E
monochromatic
#3C2692 #5033C3 #765ED5 #9F8FE2 #C9BFEE

Accessibility & contrast

On white

4.85
#765ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#765ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED5#FFFFFF#000000##FFFFFF
##765ED51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1874D9
Deuteranopia (green-blind)
#1B6FD2
Tritanopia (blue-blind)
#597890
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ed5;
/* rgb */ color: rgb(118, 94, 213);
/* oklch */ color: oklch(56.6% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#a38ce3',
    500: '#765ed5',
    950: '#000000',
  },
}
SCSS
$custom: #765ed5;
$custom-light: #a38ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed5",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 252.101,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.17546,
    "h": 288.8
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#765ED5
secondary
#D5DEB1
accent
#C61FA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #765ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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