#765BB5#765BB5

#765BB5 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.0% C 0.137 H 295.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#765BB5
RGBrgb(118, 91, 181)
HSLhsl(258, 38%, 53%)
HSVhsv(258, 50%, 71%)
CMYKcmyk(34.8%, 49.7%, 0%, 29%)
CIE-LABlab(45.18, 31.45, -44.05)
CIE-LCHlch(45.18, 54.13, 305.52°)
OKLaboklab(54.03% 0.0586 -0.1243)
OKLCHoklch(54.03% 0.137 295.2)
XYZxyz(19.5507, 14.6696, 45.5086)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BB5 #9AB55B
analogous
#5B6DB5 #765BB5 #A35BB5
triadic
#765BB5 #B5765B #5BB576
tetradic
#765BB5 #B55B6D #9AB55B #5BB5A3
square
#765BB5 #B55B6D #9AB55B #5BB5A3
split-complementary
#765BB5 #B5A35B #6DB55B
monochromatic
#3F2F67 #594291 #765BB5 #9985C8 #BCAFDB

Accessibility & contrast

On white

5.34
#765BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#765BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BB5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BB5#FFFFFF#000000##FFFFFF
##765BB51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#676C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765bb5;
/* rgb */ color: rgb(118, 91, 181);
/* oklch */ color: oklch(54.0% 0.137 295.2);
Tailwind
colors: {
  custom: {
    50: '#a08acc',
    500: '#765bb5',
    950: '#000000',
  },
}
SCSS
$custom: #765bb5;
$custom-light: #a08acc;
$custom-dark: #000000;
JSON
{
  "hex": "#765bb5",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 258,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.13747,
    "h": 295.2
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#765BB5
secondary
#BEC9A3
accent
#CE5AAB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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