#765EBB#765EBB

#765EBB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.9% C 0.141 H 293.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#765EBB
RGBrgb(118, 94, 187)
HSLhsl(255, 41%, 55%)
HSVhsv(255, 50%, 73%)
CMYKcmyk(36.9%, 49.7%, 0%, 26.7%)
CIE-LABlab(46.24, 31.30, -45.86)
CIE-LCHlch(46.24, 55.53, 304.31°)
OKLaboklab(54.93% 0.0552 -0.1296)
OKLCHoklch(54.93% 0.141 293.1)
XYZxyz(20.4412, 15.4444, 48.9082)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EBB #A3BB5E
analogous
#5E74BB #765EBB #A45EBB
triadic
#765EBB #BB765E #5EBB76
tetradic
#765EBB #BB5E74 #A3BB5E #5EBBA4
square
#765EBB #BB5E74 #A3BB5E #5EBBA4
split-complementary
#765EBB #BBA45E #74BB5E
monochromatic
#402F70 #58419B #765EBB #9B89CD #BFB4DF

Accessibility & contrast

On white

5.14
#765EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#765EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EBB#FFFFFF#000000##FFFFFF
##765EBB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#657084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765ebb;
/* rgb */ color: rgb(118, 94, 187);
/* oklch */ color: oklch(54.9% 0.141 293.1);
Tailwind
colors: {
  custom: {
    50: '#a18cd0',
    500: '#765ebb',
    950: '#000000',
  },
}
SCSS
$custom: #765ebb;
$custom-light: #a18cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#765ebb",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 255.484,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.14091,
    "h": 293.1
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#765EBB
secondary
#C4CEA7
accent
#D057B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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