#765DE4#765DE4

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

Color values

HEX#765DE4
RGBrgb(118, 93, 228)
HSLhsl(251, 71%, 63%)
HSVhsv(251, 59%, 89%)
CMYKcmyk(48.2%, 59.2%, 0%, 10.6%)
CIE-LABlab(48.61, 43.50, -65.53)
CIE-LCHlch(48.61, 78.65, 303.58°)
OKLaboklab(57.52% 0.0575 -0.1874)
OKLCHoklch(57.52% 0.196 287)
XYZxyz(25.3851, 17.2805, 75.3817)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DE4 #CBE45D
analogous
#5D87E4 #765DE4 #B95DE4
triadic
#765DE4 #E4765D #5DE476
tetradic
#765DE4 #E45D87 #CBE45D #5DE4B9
square
#765DE4 #E45D87 #CBE45D #5DE4B9
split-complementary
#765DE4 #E4B95D #87E45D
monochromatic
#371CAA #4A29DB #765DE4 #A291ED #CFC6F5

Accessibility & contrast

On white

4.71
#765DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#765DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DE4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DE4#FFFFFF#000000##FFFFFF
##765DE41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#507C98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765de4;
/* rgb */ color: rgb(118, 93, 228);
/* oklch */ color: oklch(57.5% 0.196 287.0);
Tailwind
colors: {
  custom: {
    50: '#a58ced',
    500: '#765de4',
    950: '#000000',
  },
}
SCSS
$custom: #765de4;
$custom-light: #a58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#765de4",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 251.111,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.19603,
    "h": 287
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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