#765AC3#765AC3

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

Color values

HEX#765AC3
RGBrgb(118, 90, 195)
HSLhsl(256, 47%, 56%)
HSVhsv(256, 54%, 76%)
CMYKcmyk(39.5%, 53.8%, 0%, 23.5%)
CIE-LABlab(45.78, 35.88, -51.24)
CIE-LCHlch(45.78, 62.55, 305.00°)
OKLaboklab(54.74% 0.0609 -0.1454)
OKLCHoklch(54.74% 0.158 292.7)
XYZxyz(20.9751, 15.1035, 53.4293)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AC3 #A7C35A
analogous
#5A72C3 #765AC3 #AA5AC3
triadic
#765AC3 #C3765A #5AC376
tetradic
#765AC3 #C35A72 #A7C35A #5AC3AA
square
#765AC3 #C35A72 #A7C35A #5AC3AA
split-complementary
#765AC3 #C3AA5A #72C35A
monochromatic
#402B77 #583CA4 #765AC3 #9B87D3 #C1B4E4

Accessibility & contrast

On white

5.22
#765AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#765AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AC3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AC3#FFFFFF#000000##FFFFFF
##765AC31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC7
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#627086
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765ac3;
/* rgb */ color: rgb(118, 90, 195);
/* oklch */ color: oklch(54.7% 0.158 292.7);
Tailwind
colors: {
  custom: {
    50: '#a289d6',
    500: '#765ac3',
    950: '#000000',
  },
}
SCSS
$custom: #765ac3;
$custom-light: #a289d6;
$custom-dark: #000000;
JSON
{
  "hex": "#765ac3",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 256,
    "s": 46.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.15765,
    "h": 292.7
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#765AC3
secondary
#C7D2A7
accent
#D651B3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #765AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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