#765AEB#765AEB

#765AEB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.209 H 286.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#765AEB
RGBrgb(118, 90, 235)
HSLhsl(252, 78%, 64%)
HSVhsv(252, 62%, 92%)
CMYKcmyk(49.8%, 61.7%, 0%, 7.8%)
CIE-LABlab(48.46, 47.21, -69.72)
CIE-LCHlch(48.46, 84.20, 304.11°)
OKLaboklab(57.57% 0.0602 -0.1997)
OKLCHoklch(57.57% 0.209 286.8)
XYZxyz(26.1184, 17.1608, 80.5173)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AEB #CFEB5A
analogous
#5A86EB #765AEB #BE5AEB
triadic
#765AEB #EB765A #5AEB76
tetradic
#765AEB #EB5A86 #CFEB5A #5AEBBE
square
#765AEB #EB5A86 #CFEB5A #5AEBBE
split-complementary
#765AEB #EBBE5A #86EB5A
monochromatic
#3516B5 #4923E4 #765AEB #A391F2 #D1C7F8

Accessibility & contrast

On white

4.74
#765AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#765AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AEB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AEB#FFFFFF#000000##FFFFFF
##765AEB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#4B7D9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765aeb;
/* rgb */ color: rgb(118, 90, 235);
/* oklch */ color: oklch(57.6% 0.209 286.8);
Tailwind
colors: {
  custom: {
    50: '#a68af2',
    500: '#765aeb',
    950: '#000000',
  },
}
SCSS
$custom: #765aeb;
$custom-light: #a68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#765aeb",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 251.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.2086,
    "h": 286.8
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#765AEB
secondary
#E0EAB7
accent
#DB0BB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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