#765EE7#765EE7

#765EE7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.199 H 286.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#765EE7
RGBrgb(118, 94, 231)
HSLhsl(251, 74%, 64%)
HSVhsv(251, 59%, 91%)
CMYKcmyk(48.9%, 59.3%, 0%, 9.4%)
CIE-LABlab(49.04, 43.79, -66.53)
CIE-LCHlch(49.04, 79.65, 303.35°)
OKLaboklab(57.9% 0.0563 -0.1904)
OKLCHoklch(57.9% 0.199 286.5)
XYZxyz(25.8935, 17.6253, 77.6235)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EE7 #CFE75E
analogous
#5E8AE7 #765EE7 #BA5EE7
triadic
#765EE7 #E7765E #5EE776
tetradic
#765EE7 #E75E8A #CFE75E #5EE7BA
square
#765EE7 #E75E8A #CFE75E #5EE7BA
split-complementary
#765EE7 #E7BA5E #8AE75E
monochromatic
#351AB0 #4929DF #765EE7 #A393EF #D1C9F7

Accessibility & contrast

On white

4.64
#765EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#765EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765EE7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EE7#FFFFFF#000000##FFFFFF
##765EE71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#4E7E9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #765ee7;
/* rgb */ color: rgb(118, 94, 231);
/* oklch */ color: oklch(57.9% 0.199 286.5);
Tailwind
colors: {
  custom: {
    50: '#a58cef',
    500: '#765ee7',
    950: '#000000',
  },
}
SCSS
$custom: #765ee7;
$custom-light: #a58cef;
$custom-dark: #000000;
JSON
{
  "hex": "#765ee7",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 250.511,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.19851,
    "h": 286.5
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#765EE7
secondary
#E0E9B8
accent
#D60FB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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