#765EB5#765EB5

#765EB5 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.6% C 0.133 H 294.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765EB5
RGBrgb(118, 94, 181)
HSLhsl(257, 37%, 54%)
HSVhsv(257, 48%, 71%)
CMYKcmyk(34.8%, 48.1%, 0%, 29%)
CIE-LABlab(45.90, 29.66, -42.91)
CIE-LCHlch(45.90, 52.17, 304.66°)
OKLaboklab(54.56% 0.0546 -0.121)
OKLCHoklch(54.56% 0.133 294.3)
XYZxyz(19.8123, 15.1928, 45.5958)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB5 #9DB55E
analogous
#5E72B5 #765EB5 #A25EB5
triadic
#765EB5 #B5765E #5EB576
tetradic
#765EB5 #B55E72 #9DB55E #5EB5A2
square
#765EB5 #B55E72 #9DB55E #5EB5A2
split-complementary
#765EB5 #B5A25E #72B55E
monochromatic
#403069 #594392 #765EB5 #9A88C8 #BDB2DC

Accessibility & contrast

On white

5.20
#765EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EB5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB5#FFFFFF#000000##FFFFFF
##765EB51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406EB8
Deuteranopia (green-blind)
#446BB3
Tritanopia (blue-blind)
#676F81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765eb5;
/* rgb */ color: rgb(118, 94, 181);
/* oklch */ color: oklch(54.6% 0.133 294.3);
Tailwind
colors: {
  custom: {
    50: '#a08ccb',
    500: '#765eb5',
    950: '#000000',
  },
}
SCSS
$custom: #765eb5;
$custom-light: #a08ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb5",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 256.552,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.13274,
    "h": 294.3
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#765EB5
secondary
#C0CAA5
accent
#CD5BAD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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