#765AC7#765AC7

#765AC7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.163 H 292.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#765AC7
RGBrgb(118, 90, 199)
HSLhsl(255, 49%, 57%)
HSVhsv(255, 55%, 78%)
CMYKcmyk(40.7%, 54.8%, 0%, 22%)
CIE-LABlab(46.02, 36.99, -53.15)
CIE-LCHlch(46.02, 64.76, 304.83°)
OKLaboklab(55% 0.0611 -0.151)
OKLCHoklch(55% 0.163 292)
XYZxyz(21.4334, 15.2868, 55.8431)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AC7 #ABC75A
analogous
#5A75C7 #765AC7 #AD5AC7
triadic
#765AC7 #C7765A #5AC776
tetradic
#765AC7 #C75A75 #ABC75A #5AC7AD
square
#765AC7 #C75A75 #ABC75A #5AC7AD
split-complementary
#765AC7 #C7AD5A #75C75A
monochromatic
#3F2A7C #573AAA #765AC7 #9C88D7 #C2B5E6

Accessibility & contrast

On white

5.18
#765AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#765AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AC7#FFFFFF#000000##FFFFFF
##765AC71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#607188
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765ac7;
/* rgb */ color: rgb(118, 90, 199);
/* oklch */ color: oklch(55.0% 0.163 292.0);
Tailwind
colors: {
  custom: {
    50: '#a289d9',
    500: '#765ac7',
    950: '#000000',
  },
}
SCSS
$custom: #765ac7;
$custom-light: #a289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#765ac7",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 255.413,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.1629,
    "h": 292
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#765AC7
secondary
#C9D5A8
accent
#D94FB5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #765AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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