#765CE4#765CE4

#765CE4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.197 H 287.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#765CE4
RGBrgb(118, 92, 228)
HSLhsl(251, 72%, 63%)
HSVhsv(251, 60%, 89%)
CMYKcmyk(48.2%, 59.6%, 0%, 10.6%)
CIE-LABlab(48.39, 44.07, -65.88)
CIE-LCHlch(48.39, 79.26, 303.78°)
OKLaboklab(57.36% 0.0585 -0.1885)
OKLCHoklch(57.36% 0.197 287.3)
XYZxyz(25.2979, 17.1062, 75.3526)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE4 #CAE45C
analogous
#5C86E4 #765CE4 #BA5CE4
triadic
#765CE4 #E4765C #5CE476
tetradic
#765CE4 #E45C86 #CAE45C #5CE4BA
square
#765CE4 #E45C86 #CAE45C #5CE4BA
split-complementary
#765CE4 #E4BA5C #86E45C
monochromatic
#371CAA #4A27DB #765CE4 #A291ED #CEC5F5

Accessibility & contrast

On white

4.75
#765CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#765CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE4#FFFFFF#000000##FFFFFF
##765CE41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#507C97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765ce4;
/* rgb */ color: rgb(118, 92, 228);
/* oklch */ color: oklch(57.4% 0.197 287.3);
Tailwind
colors: {
  custom: {
    50: '#a58bed',
    500: '#765ce4',
    950: '#000000',
  },
}
SCSS
$custom: #765ce4;
$custom-light: #a58bed;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce4",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 251.471,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.19734,
    "h": 287.3
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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