#765EBA#765EBA

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

Color values

HEX#765EBA
RGBrgb(118, 94, 186)
HSLhsl(256, 40%, 55%)
HSVhsv(256, 49%, 73%)
CMYKcmyk(36.6%, 49.5%, 0%, 27.1%)
CIE-LABlab(46.18, 31.03, -45.37)
CIE-LCHlch(46.18, 54.97, 304.37°)
OKLaboklab(54.87% 0.0551 -0.1282)
OKLCHoklch(54.87% 0.14 293.3)
XYZxyz(20.3345, 15.4017, 48.3463)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EBA #A2BA5E
analogous
#5E74BA #765EBA #A45EBA
triadic
#765EBA #BA765E #5EBA76
tetradic
#765EBA #BA5E74 #A2BA5E #5EBAA4
square
#765EBA #BA5E74 #A2BA5E #5EBAA4
split-complementary
#765EBA #BAA45E #74BA5E
monochromatic
#402F6E #584299 #765EBA #9A89CC #BFB4DF

Accessibility & contrast

On white

5.15
#765EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#765EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EBA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EBA#FFFFFF#000000##FFFFFF
##765EBA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#657083
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765eba;
/* rgb */ color: rgb(118, 94, 186);
/* oklch */ color: oklch(54.9% 0.140 293.3);
Tailwind
colors: {
  custom: {
    50: '#a18ccf',
    500: '#765eba',
    950: '#000000',
  },
}
SCSS
$custom: #765eba;
$custom-light: #a18ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#765eba",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 255.652,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.13955,
    "h": 293.3
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#765EBA
secondary
#C3CDA7
accent
#D058B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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