#765AC2#765AC2

#765AC2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.156 H 292.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#765AC2
RGBrgb(118, 90, 194)
HSLhsl(256, 46%, 56%)
HSVhsv(256, 54%, 76%)
CMYKcmyk(39.2%, 53.6%, 0%, 23.9%)
CIE-LABlab(45.71, 35.60, -50.76)
CIE-LCHlch(45.71, 62.00, 305.04°)
OKLaboklab(54.67% 0.0609 -0.144)
OKLCHoklch(54.67% 0.156 292.9)
XYZxyz(20.8624, 15.0584, 52.8359)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AC2 #A6C25A
analogous
#5A72C2 #765AC2 #AA5AC2
triadic
#765AC2 #C2765A #5AC276
tetradic
#765AC2 #C25A72 #A6C25A #5AC2AA
square
#765AC2 #C25A72 #A6C25A #5AC2AA
split-complementary
#765AC2 #C2AA5A #72C25A
monochromatic
#402C76 #583CA3 #765AC2 #9B87D3 #C0B3E3

Accessibility & contrast

On white

5.23
#765AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#765AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AC2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AC2#FFFFFF#000000##FFFFFF
##765AC21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#627085
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765ac2;
/* rgb */ color: rgb(118, 90, 194);
/* oklch */ color: oklch(54.7% 0.156 292.9);
Tailwind
colors: {
  custom: {
    50: '#a289d5',
    500: '#765ac2',
    950: '#000000',
  },
}
SCSS
$custom: #765ac2;
$custom-light: #a289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#765ac2",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 256.154,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.15633,
    "h": 292.9
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#765AC2
secondary
#C6D2A6
accent
#D652B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #765AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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