#765FD4#765FD4

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

Color values

HEX#765FD4
RGBrgb(118, 95, 212)
HSLhsl(252, 58%, 60%)
HSVhsv(252, 55%, 83%)
CMYKcmyk(44.3%, 55.2%, 0%, 16.9%)
CIE-LABlab(47.99, 37.74, -57.45)
CIE-LCHlch(47.99, 68.73, 303.30°)
OKLaboklab(56.72% 0.0554 -0.1636)
OKLCHoklch(56.72% 0.173 288.7)
XYZxyz(23.4437, 16.7886, 64.2799)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FD4 #BDD45F
analogous
#5F82D4 #765FD4 #B05FD4
triadic
#765FD4 #D4765F #5FD476
tetradic
#765FD4 #D45F82 #BDD45F #5FD4B0
square
#765FD4 #D45F82 #BDD45F #5FD4B0
split-complementary
#765FD4 #D4B05F #82D45F
monochromatic
#3C2791 #5034C2 #765FD4 #9F8FE1 #C9BFEE

Accessibility & contrast

On white

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

On black

4.36
#765FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##765FD4#FFFFFF#000000##FFFFFF
##765FD41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#597890
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765fd4;
/* rgb */ color: rgb(118, 95, 212);
/* oklch */ color: oklch(56.7% 0.173 288.7);
Tailwind
colors: {
  custom: {
    50: '#a38de2',
    500: '#765fd4',
    950: '#000000',
  },
}
SCSS
$custom: #765fd4;
$custom-light: #a38de2;
$custom-dark: #000000;
JSON
{
  "hex": "#765fd4",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 251.795,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.17276,
    "h": 288.7
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#765FD4
secondary
#D5DEB1
accent
#C520A5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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