#765FD5#765FD5

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

Color values

HEX#765FD5
RGBrgb(118, 95, 213)
HSLhsl(252, 58%, 60%)
HSVhsv(252, 55%, 84%)
CMYKcmyk(44.6%, 55.4%, 0%, 16.5%)
CIE-LABlab(48.06, 38.03, -57.91)
CIE-LCHlch(48.06, 69.28, 303.29°)
OKLaboklab(56.79% 0.0554 -0.165)
OKLCHoklch(56.79% 0.174 288.6)
XYZxyz(23.5703, 16.8392, 64.9463)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FD5 #BED55F
analogous
#5F83D5 #765FD5 #B15FD5
triadic
#765FD5 #D5765F #5FD576
tetradic
#765FD5 #D55F83 #BED55F #5FD5B1
square
#765FD5 #D55F83 #BED55F #5FD5B1
split-complementary
#765FD5 #D5B15F #83D55F
monochromatic
#3C2793 #4F33C3 #765FD5 #A08FE2 #C9C0EE

Accessibility & contrast

On white

4.81
#765FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#765FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FD5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FD5#FFFFFF#000000##FFFFFF
##765FD51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#1F6FD2
Tritanopia (blue-blind)
#597991
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765fd5;
/* rgb */ color: rgb(118, 95, 213);
/* oklch */ color: oklch(56.8% 0.174 288.6);
Tailwind
colors: {
  custom: {
    50: '#a38de3',
    500: '#765fd5',
    950: '#000000',
  },
}
SCSS
$custom: #765fd5;
$custom-light: #a38de3;
$custom-dark: #000000;
JSON
{
  "hex": "#765fd5",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 251.695,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.17407,
    "h": 288.6
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#765FD5
secondary
#D6DEB1
accent
#C61FA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #765FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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