#765AE4#765AE4

#765AE4 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.200 H 287.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#765AE4
RGBrgb(118, 90, 228)
HSLhsl(252, 72%, 62%)
HSVhsv(252, 61%, 89%)
CMYKcmyk(48.2%, 60.5%, 0%, 10.6%)
CIE-LABlab(47.96, 45.20, -66.58)
CIE-LCHlch(47.96, 80.48, 304.17°)
OKLaboklab(57.04% 0.0606 -0.1905)
OKLCHoklch(57.04% 0.2 287.6)
XYZxyz(25.1269, 16.7642, 75.2956)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AE4 #C8E45A
analogous
#5A83E4 #765AE4 #BB5AE4
triadic
#765AE4 #E4765A #5AE476
tetradic
#765AE4 #E45A83 #C8E45A #5AE4BB
square
#765AE4 #E45A83 #C8E45A #5AE4BB
split-complementary
#765AE4 #E4BB5A #83E45A
monochromatic
#381CA8 #4A25DB #765AE4 #A28FED #CDC3F5

Accessibility & contrast

On white

4.82
#765AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#765AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AE4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AE4#FFFFFF#000000##FFFFFF
##765AE41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#507A97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ae4;
/* rgb */ color: rgb(118, 90, 228);
/* oklch */ color: oklch(57.0% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#a58aed',
    500: '#765ae4',
    950: '#000000',
  },
}
SCSS
$custom: #765ae4;
$custom-light: #a58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#765ae4",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 252.174,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.19993,
    "h": 287.6
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#765AE4
secondary
#DCE6B4
accent
#D412AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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