#765AEE#765AEE

#765AEE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.212 H 286.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#765AEE
RGBrgb(118, 90, 238)
HSLhsl(251, 81%, 64%)
HSVhsv(251, 62%, 93%)
CMYKcmyk(50.4%, 62.2%, 0%, 6.7%)
CIE-LABlab(48.68, 48.08, -71.05)
CIE-LCHlch(48.68, 85.79, 304.08°)
OKLaboklab(57.79% 0.0599 -0.2037)
OKLCHoklch(57.79% 0.212 286.4)
XYZxyz(26.5554, 17.3356, 82.8192)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AEE #D2EE5A
analogous
#5A88EE #765AEE #C05AEE
triadic
#765AEE #EE765A #5AEE76
tetradic
#765AEE #EE5A88 #D2EE5A #5AEEC0
square
#765AEE #EE5A88 #D2EE5A #5AEEC0
split-complementary
#765AEE #EEC05A #88EE5A
monochromatic
#3313BA #4823E8 #765AEE #A491F4 #D2C9F9

Accessibility & contrast

On white

4.70
#765AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#765AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AEE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AEE#FFFFFF#000000##FFFFFF
##765AEE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#497E9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765aee;
/* rgb */ color: rgb(118, 90, 238);
/* oklch */ color: oklch(57.8% 0.212 286.4);
Tailwind
colors: {
  custom: {
    50: '#a78af5',
    500: '#765aee',
    950: '#000000',
  },
}
SCSS
$custom: #765aee;
$custom-light: #a78af5;
$custom-dark: #000000;
JSON
{
  "hex": "#765aee",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 251.351,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.21229,
    "h": 286.4
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#765AEE
secondary
#E2ECB8
accent
#DE08B5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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