#765FC7#765FC7

#765FC7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.156 H 290.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#765FC7
RGBrgb(118, 95, 199)
HSLhsl(253, 48%, 58%)
HSVhsv(253, 52%, 78%)
CMYKcmyk(40.7%, 52.3%, 0%, 22%)
CIE-LABlab(47.18, 34.05, -51.29)
CIE-LCHlch(47.18, 61.57, 303.58°)
OKLaboklab(55.86% 0.0549 -0.1456)
OKLCHoklch(55.86% 0.156 290.7)
XYZxyz(21.8694, 16.1588, 55.9885)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FC7 #B0C75F
analogous
#5F7CC7 #765FC7 #AA5FC7
triadic
#765FC7 #C7765F #5FC776
tetradic
#765FC7 #C75F7C #B0C75F #5FC7AA
square
#765FC7 #C75F7C #B0C75F #5FC7AA
split-complementary
#765FC7 #C7AA5F #7CC75F
monochromatic
#3F2C7F #553CAC #765FC7 #9D8CD7 #C4BAE7

Accessibility & contrast

On white

4.96
#765FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#765FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FC7#FFFFFF#000000##FFFFFF
##765FC71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3172CB
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#60758A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765fc7;
/* rgb */ color: rgb(118, 95, 199);
/* oklch */ color: oklch(55.9% 0.156 290.7);
Tailwind
colors: {
  custom: {
    50: '#a28dd8',
    500: '#765fc7',
    950: '#000000',
  },
}
SCSS
$custom: #765fc7;
$custom-light: #a28dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#765fc7",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 253.269,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.15557,
    "h": 290.7
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#765FC7
secondary
#CDD6AC
accent
#D850BA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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