#765CE5#765CE5

#765CE5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.199 H 287.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#765CE5
RGBrgb(118, 92, 229)
HSLhsl(251, 72%, 63%)
HSVhsv(251, 60%, 90%)
CMYKcmyk(48.5%, 59.8%, 0%, 10.2%)
CIE-LABlab(48.46, 44.36, -66.33)
CIE-LCHlch(48.46, 79.80, 303.77°)
OKLaboklab(57.43% 0.0585 -0.1898)
OKLCHoklch(57.43% 0.199 287.1)
XYZxyz(25.4371, 17.1618, 76.0858)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE5 #CBE55C
analogous
#5C86E5 #765CE5 #BB5CE5
triadic
#765CE5 #E5765C #5CE576
tetradic
#765CE5 #E55C86 #CBE55C #5CE5BB
square
#765CE5 #E55C86 #CBE55C #5CE5BB
split-complementary
#765CE5 #E5BB5C #86E55C
monochromatic
#371BAB #4A27DD #765CE5 #A291ED #CFC6F6

Accessibility & contrast

On white

4.74
#765CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#765CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE5#FFFFFF#000000##FFFFFF
##765CE51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #765ce5;
/* rgb */ color: rgb(118, 92, 229);
/* oklch */ color: oklch(57.4% 0.199 287.1);
Tailwind
colors: {
  custom: {
    50: '#a58bee',
    500: '#765ce5',
    950: '#000000',
  },
}
SCSS
$custom: #765ce5;
$custom-light: #a58bee;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce5",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 251.387,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57433,
    "c": 0.1986,
    "h": 287.1
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#765CE5
secondary
#DEE7B6
accent
#D511AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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