#765BE5#765BE5

#765BE5 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.200 H 287.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#765BE5
RGBrgb(118, 91, 229)
HSLhsl(252, 73%, 63%)
HSVhsv(252, 60%, 90%)
CMYKcmyk(48.5%, 60.3%, 0%, 10.2%)
CIE-LABlab(48.25, 44.92, -66.68)
CIE-LCHlch(48.25, 80.41, 303.97°)
OKLaboklab(57.28% 0.0595 -0.1908)
OKLCHoklch(57.28% 0.2 287.3)
XYZxyz(25.3510, 16.9897, 76.0571)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BE5 #CAE55B
analogous
#5B85E5 #765BE5 #BB5BE5
triadic
#765BE5 #E5765B #5BE576
tetradic
#765BE5 #E55B85 #CAE55B #5BE5BB
square
#765BE5 #E55B85 #CAE55B #5BE5BB
split-complementary
#765BE5 #E5BB5B #85E55B
monochromatic
#371BAB #4A26DD #765BE5 #A290ED #CEC5F6

Accessibility & contrast

On white

4.77
#765BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#765BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BE5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BE5#FFFFFF#000000##FFFFFF
##765BE51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#507B97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765be5;
/* rgb */ color: rgb(118, 91, 229);
/* oklch */ color: oklch(57.3% 0.200 287.3);
Tailwind
colors: {
  custom: {
    50: '#a58aee',
    500: '#765be5',
    950: '#000000',
  },
}
SCSS
$custom: #765be5;
$custom-light: #a58aee;
$custom-dark: #000000;
JSON
{
  "hex": "#765be5",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 251.739,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.19989,
    "h": 287.3
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#765BE5
secondary
#DDE7B5
accent
#D511AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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