#765BB8#765BB8

#765BB8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.2% C 0.142 H 294.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#765BB8
RGBrgb(118, 91, 184)
HSLhsl(257, 40%, 54%)
HSVhsv(257, 51%, 72%)
CMYKcmyk(35.9%, 50.5%, 0%, 27.8%)
CIE-LABlab(45.35, 32.27, -45.53)
CIE-LCHlch(45.35, 55.80, 305.32°)
OKLaboklab(54.21% 0.0589 -0.1287)
OKLCHoklch(54.21% 0.142 294.6)
XYZxyz(19.8618, 14.7940, 47.1472)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BB8 #9DB85B
analogous
#5B6FB8 #765BB8 #A45BB8
triadic
#765BB8 #B8765B #5BB876
tetradic
#765BB8 #B85B6F #9DB85B #5BB8A4
square
#765BB8 #B85B6F #9DB85B #5BB8A4
split-complementary
#765BB8 #B8A45B #6FB85B
monochromatic
#402E6A #594195 #765BB8 #9A86CA #BDB0DD

Accessibility & contrast

On white

5.30
#765BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#765BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BB8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BB8#FFFFFF#000000##FFFFFF
##765BB81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#3D6AB6
Tritanopia (blue-blind)
#666D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765bb8;
/* rgb */ color: rgb(118, 91, 184);
/* oklch */ color: oklch(54.2% 0.142 294.6);
Tailwind
colors: {
  custom: {
    50: '#a18ace',
    500: '#765bb8',
    950: '#000000',
  },
}
SCSS
$custom: #765bb8;
$custom-light: #a18ace;
$custom-dark: #000000;
JSON
{
  "hex": "#765bb8",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 257.419,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.14151,
    "h": 294.6
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#765BB8
secondary
#C0CBA4
accent
#CF58AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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