#765FD7#765FD7

#765FD7 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.177 H 288.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#765FD7
RGBrgb(118, 95, 215)
HSLhsl(252, 60%, 61%)
HSVhsv(252, 56%, 84%)
CMYKcmyk(45.1%, 55.8%, 0%, 15.7%)
CIE-LABlab(48.19, 38.60, -58.84)
CIE-LCHlch(48.19, 70.37, 303.26°)
OKLaboklab(56.93% 0.0555 -0.1677)
OKLCHoklch(56.93% 0.177 288.3)
XYZxyz(23.8257, 16.9413, 66.2914)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FD7 #C0D75F
analogous
#5F84D7 #765FD7 #B25FD7
triadic
#765FD7 #D7765F #5FD776
tetradic
#765FD7 #D75F84 #C0D75F #5FD7B2
square
#765FD7 #D75F84 #C0D75F #5FD7B2
split-complementary
#765FD7 #D7B25F #84D75F
monochromatic
#3B2696 #4E32C7 #765FD7 #A090E3 #CAC1EF

Accessibility & contrast

On white

4.79
#765FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#765FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FD7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FD7#FFFFFF#000000##FFFFFF
##765FD71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1775DB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#587992
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765fd7;
/* rgb */ color: rgb(118, 95, 215);
/* oklch */ color: oklch(56.9% 0.177 288.3);
Tailwind
colors: {
  custom: {
    50: '#a48de4',
    500: '#765fd7',
    950: '#000000',
  },
}
SCSS
$custom: #765fd7;
$custom-light: #a48de4;
$custom-dark: #000000;
JSON
{
  "hex": "#765fd7",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 251.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.17668,
    "h": 288.3
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#765FD7
secondary
#D7E0B2
accent
#C81EA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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