#765AE2#765AE2

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

Color values

HEX#765AE2
RGBrgb(118, 90, 226)
HSLhsl(252, 70%, 62%)
HSVhsv(252, 60%, 89%)
CMYKcmyk(47.8%, 60.2%, 0%, 11.4%)
CIE-LABlab(47.82, 44.63, -65.68)
CIE-LCHlch(47.82, 79.41, 304.20°)
OKLaboklab(56.9% 0.0607 -0.1879)
OKLCHoklch(56.9% 0.197 287.9)
XYZxyz(24.8509, 16.6538, 73.8419)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AE2 #C6E25A
analogous
#5A82E2 #765AE2 #BA5AE2
triadic
#765AE2 #E2765A #5AE276
tetradic
#765AE2 #E25A82 #C6E25A #5AE2BA
square
#765AE2 #E25A82 #C6E25A #5AE2BA
split-complementary
#765AE2 #E2BA5A #82E25A
monochromatic
#391DA5 #4B26D9 #765AE2 #A18EEB #CCC2F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765AE2#FFFFFF#000000##FFFFFF
##765AE21.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)
#0075E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#527A95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ae2;
/* rgb */ color: rgb(118, 90, 226);
/* oklch */ color: oklch(56.9% 0.197 287.9);
Tailwind
colors: {
  custom: {
    50: '#a58aec',
    500: '#765ae2',
    950: '#000000',
  },
}
SCSS
$custom: #765ae2;
$custom-light: #a58aec;
$custom-dark: #000000;
JSON
{
  "hex": "#765ae2",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 252.353,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56896,
    "c": 0.19744,
    "h": 287.9
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#765AE2
secondary
#DBE5B3
accent
#D213AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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