#765EE2#765EE2

#765EE2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.192 H 287.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#765EE2
RGBrgb(118, 94, 226)
HSLhsl(251, 69%, 63%)
HSVhsv(251, 58%, 89%)
CMYKcmyk(47.8%, 58.4%, 0%, 11.4%)
CIE-LABlab(48.69, 42.35, -64.27)
CIE-LCHlch(48.69, 76.96, 303.38°)
OKLaboklab(57.54% 0.0565 -0.1837)
OKLCHoklch(57.54% 0.192 287.1)
XYZxyz(25.1974, 17.3468, 73.9574)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EE2 #CAE25E
analogous
#5E88E2 #765EE2 #B85EE2
triadic
#765EE2 #E2765E #5EE276
tetradic
#765EE2 #E25E88 #CAE25E #5EE2B8
square
#765EE2 #E25E88 #CAE25E #5EE2B8
split-complementary
#765EE2 #E2B85E #88E25E
monochromatic
#371EA7 #4A2AD9 #765EE2 #A292EB #CEC6F5

Accessibility & contrast

On white

4.70
#765EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#765EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EE2#FFFFFF#000000##FFFFFF
##765EE21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#517C97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765ee2;
/* rgb */ color: rgb(118, 94, 226);
/* oklch */ color: oklch(57.5% 0.192 287.1);
Tailwind
colors: {
  custom: {
    50: '#a58cec',
    500: '#765ee2',
    950: '#000000',
  },
}
SCSS
$custom: #765ee2;
$custom-light: #a58cec;
$custom-dark: #000000;
JSON
{
  "hex": "#765ee2",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 250.909,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.19218,
    "h": 287.1
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#765EE2
secondary
#DDE6B6
accent
#D114AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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