#765AC5#765AC5

#765AC5 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.160 H 292.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765AC5
RGBrgb(118, 90, 197)
HSLhsl(256, 48%, 56%)
HSVhsv(256, 54%, 77%)
CMYKcmyk(40.1%, 54.3%, 0%, 22.7%)
CIE-LABlab(45.90, 36.43, -52.20)
CIE-LCHlch(45.90, 63.66, 304.91°)
OKLaboklab(54.87% 0.061 -0.1482)
OKLCHoklch(54.87% 0.16 292.4)
XYZxyz(21.2027, 15.1945, 54.6282)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AC5 #A9C55A
analogous
#5A74C5 #765AC5 #AC5AC5
triadic
#765AC5 #C5765A #5AC576
tetradic
#765AC5 #C55A74 #A9C55A #5AC5AC
square
#765AC5 #C55A74 #A9C55A #5AC5AC
split-complementary
#765AC5 #C5AC5A #74C55A
monochromatic
#3F2B7A #573BA7 #765AC5 #9C87D5 #C1B5E5

Accessibility & contrast

On white

5.20
#765AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AC5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AC5#FFFFFF#000000##FFFFFF
##765AC51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#2E6BC3
Tritanopia (blue-blind)
#617087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765ac5;
/* rgb */ color: rgb(118, 90, 197);
/* oklch */ color: oklch(54.9% 0.160 292.4);
Tailwind
colors: {
  custom: {
    50: '#a289d7',
    500: '#765ac5',
    950: '#000000',
  },
}
SCSS
$custom: #765ac5;
$custom-light: #a289d7;
$custom-dark: #000000;
JSON
{
  "hex": "#765ac5",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 255.701,
    "s": 47.982,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.16029,
    "h": 292.4
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#765AC5
secondary
#C8D3A7
accent
#D850B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #765AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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