#765CE3#765CE3

#765CE3 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.196 H 287.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#765CE3
RGBrgb(118, 92, 227)
HSLhsl(252, 71%, 63%)
HSVhsv(252, 59%, 89%)
CMYKcmyk(48%, 59.5%, 0%, 11%)
CIE-LABlab(48.32, 43.78, -65.43)
CIE-LCHlch(48.32, 78.73, 303.79°)
OKLaboklab(57.29% 0.0586 -0.1871)
OKLCHoklch(57.29% 0.196 287.4)
XYZxyz(25.1595, 17.0508, 74.6236)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE3 #C9E35C
analogous
#5C85E3 #765CE3 #BA5CE3
triadic
#765CE3 #E3765C #5CE376
tetradic
#765CE3 #E35C85 #C9E35C #5CE3BA
square
#765CE3 #E35C85 #C9E35C #5CE3BA
split-complementary
#765CE3 #E3BA5C #85E35C
monochromatic
#381DA8 #4A28DA #765CE3 #A290EC #CEC4F5

Accessibility & contrast

On white

4.76
#765CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#765CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE3#FFFFFF#000000##FFFFFF
##765CE31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#517B97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765ce3;
/* rgb */ color: rgb(118, 92, 227);
/* oklch */ color: oklch(57.3% 0.196 287.4);
Tailwind
colors: {
  custom: {
    50: '#a58bed',
    500: '#765ce3',
    950: '#000000',
  },
}
SCSS
$custom: #765ce3;
$custom-light: #a58bed;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce3",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 251.556,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.19608,
    "h": 287.4
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#765CE3
secondary
#DCE6B5
accent
#D313AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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