#765EE4#765EE4

#765EE4 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.195 H 286.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#765EE4
RGBrgb(118, 94, 228)
HSLhsl(251, 71%, 63%)
HSVhsv(251, 59%, 89%)
CMYKcmyk(48.2%, 58.8%, 0%, 10.6%)
CIE-LABlab(48.83, 42.92, -65.17)
CIE-LCHlch(48.83, 78.04, 303.37°)
OKLaboklab(57.68% 0.0564 -0.1864)
OKLCHoklch(57.68% 0.195 286.8)
XYZxyz(25.4734, 17.4572, 75.4111)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EE4 #CCE45E
analogous
#5E89E4 #765EE4 #B95EE4
triadic
#765EE4 #E4765E #5EE476
tetradic
#765EE4 #E45E89 #CCE45E #5EE4B9
square
#765EE4 #E45E89 #CCE45E #5EE4B9
split-complementary
#765EE4 #E4B95E #89E45E
monochromatic
#361DAB #492ADB #765EE4 #A392ED #CFC7F6

Accessibility & contrast

On white

4.68
#765EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#765EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EE4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EE4#FFFFFF#000000##FFFFFF
##765EE41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#507D98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765ee4;
/* rgb */ color: rgb(118, 94, 228);
/* oklch */ color: oklch(57.7% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#a58ced',
    500: '#765ee4',
    950: '#000000',
  },
}
SCSS
$custom: #765ee4;
$custom-light: #a58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#765ee4",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 250.746,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.19472,
    "h": 286.8
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#765EE4
secondary
#DEE7B7
accent
#D312B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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