#765AB7#765AB7

#765AB7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.0% C 0.142 H 295.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#765AB7
RGBrgb(118, 90, 183)
HSLhsl(258, 39%, 54%)
HSVhsv(258, 51%, 72%)
CMYKcmyk(35.5%, 50.8%, 0%, 28.2%)
CIE-LABlab(45.06, 32.59, -45.42)
CIE-LCHlch(45.06, 55.90, 305.66°)
OKLaboklab(53.97% 0.0601 -0.1283)
OKLCHoklch(53.97% 0.142 295.1)
XYZxyz(19.6724, 14.5824, 46.5688)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AB7 #9BB75A
analogous
#5A6CB7 #765AB7 #A55AB7
triadic
#765AB7 #B7765A #5AB776
tetradic
#765AB7 #B75A6C #9BB75A #5AB7A5
square
#765AB7 #B75A6C #9BB75A #5AB7A5
split-complementary
#765AB7 #B7A55A #6CB75A
monochromatic
#402E69 #594093 #765AB7 #9985CA #BDAFDC

Accessibility & contrast

On white

5.36
#765AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#765AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AB7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AB7#FFFFFF#000000##FFFFFF
##765AB71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#676C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765ab7;
/* rgb */ color: rgb(118, 90, 183);
/* oklch */ color: oklch(54.0% 0.142 295.1);
Tailwind
colors: {
  custom: {
    50: '#a189cd',
    500: '#765ab7',
    950: '#000000',
  },
}
SCSS
$custom: #765ab7;
$custom-light: #a189cd;
$custom-dark: #000000;
JSON
{
  "hex": "#765ab7",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 258.065,
    "s": 39.241,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.14172,
    "h": 295.1
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#765AB7
secondary
#BECAA2
accent
#CF59AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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