#765BBA#765BBA

#765BBA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.144 H 294.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#765BBA
RGBrgb(118, 91, 186)
HSLhsl(257, 41%, 54%)
HSVhsv(257, 51%, 73%)
CMYKcmyk(36.6%, 51.1%, 0%, 27.1%)
CIE-LABlab(45.47, 32.81, -46.51)
CIE-LCHlch(45.47, 56.92, 305.20°)
OKLaboklab(54.34% 0.0591 -0.1315)
OKLCHoklch(54.34% 0.144 294.2)
XYZxyz(20.0729, 14.8785, 48.2591)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BBA #9FBA5B
analogous
#5B6FBA #765BBA #A65BBA
triadic
#765BBA #BA765B #5BBA76
tetradic
#765BBA #BA5B6F #9FBA5B #5BBAA6
square
#765BBA #BA5B6F #9FBA5B #5BBAA6
split-complementary
#765BBA #BAA65B #6FBA5B
monochromatic
#402E6D #594098 #765BBA #9A86CC #BEB1DE

Accessibility & contrast

On white

5.28
#765BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#765BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BBA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BBA#FFFFFF#000000##FFFFFF
##765BBA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#666E82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765bba;
/* rgb */ color: rgb(118, 91, 186);
/* oklch */ color: oklch(54.3% 0.144 294.2);
Tailwind
colors: {
  custom: {
    50: '#a18acf',
    500: '#765bba',
    950: '#000000',
  },
}
SCSS
$custom: #765bba;
$custom-light: #a18acf;
$custom-dark: #000000;
JSON
{
  "hex": "#765bba",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 257.053,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.14419,
    "h": 294.2
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#765BBA
secondary
#C1CDA4
accent
#D157AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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