#765ED7#765ED7

#765ED7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.178 H 288.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#765ED7
RGBrgb(118, 94, 215)
HSLhsl(252, 60%, 61%)
HSVhsv(252, 56%, 84%)
CMYKcmyk(45.1%, 56.3%, 0%, 15.7%)
CIE-LABlab(47.96, 39.18, -59.21)
CIE-LCHlch(47.96, 71.00, 303.49°)
OKLaboklab(56.76% 0.0566 -0.1688)
OKLCHoklch(56.76% 0.178 288.5)
XYZxyz(23.7362, 16.7623, 66.2616)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED7 #BFD75E
analogous
#5E82D7 #765ED7 #B25ED7
triadic
#765ED7 #D7765E #5ED776
tetradic
#765ED7 #D75E82 #BFD75E #5ED7B2
square
#765ED7 #D75E82 #BFD75E #5ED7B2
split-complementary
#765ED7 #D7B25E #82D75E
monochromatic
#3B2595 #4F31C6 #765ED7 #A08FE3 #C9C0EF

Accessibility & contrast

On white

4.82
#765ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#765ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED7#FFFFFF#000000##FFFFFF
##765ED71.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1274DB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#587991
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ed7;
/* rgb */ color: rgb(118, 94, 215);
/* oklch */ color: oklch(56.8% 0.178 288.5);
Tailwind
colors: {
  custom: {
    50: '#a48ce4',
    500: '#765ed7',
    950: '#000000',
  },
}
SCSS
$custom: #765ed7;
$custom-light: #a48ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed7",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 251.901,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56761,
    "c": 0.17806,
    "h": 288.5
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#765ED7
secondary
#D6DFB1
accent
#C81EA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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