#765AC4#765AC4

#765AC4 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.159 H 292.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#765AC4
RGBrgb(118, 90, 196)
HSLhsl(256, 47%, 56%)
HSVhsv(256, 54%, 77%)
CMYKcmyk(39.8%, 54.1%, 0%, 23.1%)
CIE-LABlab(45.84, 36.15, -51.72)
CIE-LCHlch(45.84, 63.10, 304.96°)
OKLaboklab(54.8% 0.061 -0.1468)
OKLCHoklch(54.8% 0.159 292.5)
XYZxyz(21.0885, 15.1489, 54.0268)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AC4 #A8C45A
analogous
#5A73C4 #765AC4 #AB5AC4
triadic
#765AC4 #C4765A #5AC476
tetradic
#765AC4 #C45A73 #A8C45A #5AC4AB
square
#765AC4 #C45A73 #A8C45A #5AC4AB
split-complementary
#765AC4 #C4AB5A #73C45A
monochromatic
#402B79 #573BA6 #765AC4 #9B87D4 #C1B4E4

Accessibility & contrast

On white

5.21
#765AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#765AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AC4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AC4#FFFFFF#000000##FFFFFF
##765AC41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#627086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765ac4;
/* rgb */ color: rgb(118, 90, 196);
/* oklch */ color: oklch(54.8% 0.159 292.5);
Tailwind
colors: {
  custom: {
    50: '#a289d6',
    500: '#765ac4',
    950: '#000000',
  },
}
SCSS
$custom: #765ac4;
$custom-light: #a289d6;
$custom-dark: #000000;
JSON
{
  "hex": "#765ac4",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 255.849,
    "s": 47.321,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.15897,
    "h": 292.5
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#765AC4
secondary
#C7D3A7
accent
#D751B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #765AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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